decode method
Implementation
@override
Map<K, V> decode(Input input) {
final result = <K, V>{};
final length = CompactCodec.codec.decode(input);
for (var i = 0; i < length; i++) {
final key = keyCodec.decode(input);
final value = valueCodec.decode(input);
result[key] = value;
}
return result;
}