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