IterableEntity / Iterable2Entity kinds
Last updated
Last updated
There are many kinds of IterableEntity/Iterable2Entity depending on the type of the collection they hold.
"#1" represents the type of the modddels.
Holds a list of modddels :
IterableEntity | TypeTemplate | |
---|---|---|
Holds a set of modddels :
IterableEntity | TypeTemplate | |
---|---|---|
Holds a map where only the values are modddels :
IterableEntity | TypeTemplate | |
---|---|---|
Holds a map where only the keys are modddels :
IterableEntity | TypeTemplate | |
---|---|---|
(*) : The Dart collections use the "unmodifiable" versions of the collections, which throw runtime errors if you try to modify them. Preferably, use immutable collections (from KtDart or Dartz) which won't allow you to do any modification compile-time.
"#1" and "#2" represent the two modddels types.
Holds a map where the keys and the values are modddels :
(*) : The Dart collections use the "unmodifiable" versions of the collections, which throw runtime errors if you try to modify them. Preferably, use immutable collections (from KtDart or Dartz) which won't allow you to do any modification compile-time.
Iterable2Entity | TypeTemplate | |
---|---|---|
Dart collection (*)
ListEntity
List<#1>
KtDart collection
KtListEntity
KtList<#1>
Dartz collection
IListEntity
IList<#1>
Dart collection (*)
SetEntity
Set<#1>
KtDart collection
KtSetEntity
KtSet<#1>
Dartz collection
ISetEntity
ISet<#1>
Dart collection (*)
MappedValuesEntity
Map<*,#1>
KtDart collection
KtMappedValuesEntity
KtMap<*,#1>
Dartz collection
IMappedValuesEntity
IMap<*,#1>
Dart collection (*)
MappedKeysEntity
Map<#1,*>
KtDart collection
KtMappedKeysEntity
KtMap<#1,*>
Dartz collection
IMappedKeysEntity
IMap<#1,*>
Dart collections (*)
MapEntity
Map<#1,#2>
KtDart collections
KtMapEntity
KtMap<#1,#2>
Dartz collections
IMapEntity
IMap<#1,#2>