decode method

  1. @override
Map<String, dynamic> decode(
  1. Input input
)
override

Decodes the value from the Codec's input

Implementation

@override
Map<String, dynamic> decode(Input input) {
  final result = <String, dynamic>{};

  for (final entry in mappedCodec.entries) {
    result[entry.key] = entry.value.decode(input);
  }
  return result;
}