IterableEntity / Iterable2Entity kinds

There are many kinds of IterableEntity/Iterable2Entity depending on the type of the collection they hold.

Available IterableEntities

"#1" represents the type of the modddels.

  • Holds a list of modddels :

    IterableEntityTypeTemplate

    Dart collection (*)

    ListEntity

    List<#1>

    KtDart collection

    KtListEntity

    KtList<#1>

    Dartz collection

    IListEntity

    IList<#1>

  • Holds a set of modddels :

    IterableEntityTypeTemplate

    Dart collection (*)

    SetEntity

    Set<#1>

    KtDart collection

    KtSetEntity

    KtSet<#1>

    Dartz collection

    ISetEntity

    ISet<#1>

  • Holds a map where only the values are modddels :

    IterableEntityTypeTemplate

    Dart collection (*)

    MappedValuesEntity

    Map<*,#1>

    KtDart collection

    KtMappedValuesEntity

    KtMap<*,#1>

    Dartz collection

    IMappedValuesEntity

    IMap<*,#1>

  • Holds a map where only the keys are modddels :

    IterableEntityTypeTemplate

    Dart collection (*)

    MappedKeysEntity

    Map<#1,*>

    KtDart collection

    KtMappedKeysEntity

    KtMap<#1,*>

    Dartz collection

    IMappedKeysEntity

    IMap<#1,*>

(*) : 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.

Available Iterable2Entities

"#1" and "#2" represent the two modddels types.

  • Holds a map where the keys and the values are modddels :

    Iterable2EntityTypeTemplate

    Dart collections (*)

    MapEntity

    Map<#1,#2>

    KtDart collections

    KtMapEntity

    KtMap<#1,#2>

    Dartz collections

    IMapEntity

    IMap<#1,#2>

(*) : 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.