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