fromJsonMap<O> method

O fromJsonMap<O>(
  1. Map<String, Object?> map, {
  2. Type? type,
  3. TypeInfo? typeInfo,
  4. bool duplicatedEntitiesAsID = false,
  5. bool? autoResetEntityCache,
})

Converts map to type.

Implementation

O fromJsonMap<O>(Map<String, Object?> map,
    {Type? type,
    TypeInfo? typeInfo,
    bool duplicatedEntitiesAsID = false,
    bool? autoResetEntityCache}) {
  return decoder.fromJsonMap<O>(map,
      type: type,
      typeInfo: typeInfo,
      duplicatedEntitiesAsID: duplicatedEntitiesAsID,
      autoResetEntityCache: autoResetEntityCache);
}