jsonMapToMap static method

Map<String, Object?> jsonMapToMap(
  1. Type originType,
  2. Map<String, Object?> jsonMap
)

Implementation

static Map<String, Object?> jsonMapToMap(Type originType,
    Map<String, Object?> jsonMap) {
  var typeMap = <TypeCheck, Object? Function(dynamic value)>{
    const TypeCheck<DateTime>(): (value) => toDateTime(value)
  };
  return baseReflectableConverter(originType,jsonMap, typeMap);
}