fromJson static method
Creates Class Object from Json
Implementation
static StorageEntryTypeV14 fromJson(MapEntry<String, dynamic> map) {
switch (map.key) {
case 'Plain':
return StorageEntryTypeV14_Plain(value: map.value);
case 'Map':
return StorageEntryTypeV14_Map.fromJson(map.value);
default:
throw UnexpectedTypeException('Unexpected type: ${map.key}');
}
}