decodeMapped method
Decodes the data as a collection of key-value pairs. The values are accessed and decoded based on the provided key.
Implementation
@override
MappedDecoder decodeMapped() {
try {
return StandardMappedDecoder(_value as Map<Object, dynamic>, _isHumanReadable, _customTypes);
} on TypeError {
throw CodableException.unexpectedType(
expected: 'Map<Object, dynamic>', actual: '${_value.runtimeType}', data: _value);
}
}