toEntitiesMapByIdMap method

Map<dynamic, Map<String, dynamic>> toEntitiesMapByIdMap(
  1. Iterable<Map<String, dynamic>> entities
)

Implementation

Map<dynamic, Map<String, dynamic>> toEntitiesMapByIdMap(
        Iterable<Map<String, dynamic>> entities) =>
    Map<dynamic, Map<String, dynamic>>.fromEntries(
        entities.map((o) => MapEntry(getIDFromMap(o), o)));