decode method
Implementation
@override
CustomMetadata decode(Input input) {
final map = BTreeMapCodec(keyCodec: StrCodec.codec, valueCodec: CustomMetadataEntry.codec)
.decode(input);
return CustomMetadata(
map: map,
);
}
@override
CustomMetadata decode(Input input) {
final map = BTreeMapCodec(keyCodec: StrCodec.codec, valueCodec: CustomMetadataEntry.codec)
.decode(input);
return CustomMetadata(
map: map,
);
}