fromJsonMap<T> static method
T
fromJsonMap<T>(
- Map<
String, Object?> map, { - Type? type,
- TypeInfo? typeInfo,
- JsomMapDecoder? jsomMapDecoder,
- EntityHandlerProvider? entityHandlerProvider,
- EntityCache? entityCache,
- bool? autoResetEntityCache,
Converts map
to type
.
Implementation
static T fromJsonMap<T>(Map<String, Object?> map,
{Type? type,
TypeInfo? typeInfo,
JsomMapDecoder? jsomMapDecoder,
EntityHandlerProvider? entityHandlerProvider,
EntityCache? entityCache,
bool? autoResetEntityCache}) {
var jsonDecoder =
_buildJsonDecoder(jsomMapDecoder, entityHandlerProvider, entityCache);
return jsonDecoder.fromJsonMap<T>(map,
type: type,
typeInfo: typeInfo,
autoResetEntityCache: autoResetEntityCache);
}