decodeKeyed method

  1. @override
KeyedDecoder decodeKeyed(
  1. String key, {
  2. int? id,
})
override

Decodes the data for the given key or id as a iterated collection of key-value pairs of nested data.

Implementation

@override
KeyedDecoder decodeKeyed(String key, {int? id}) {
  var d = decoders[key] ?? decoders[id];
  return d!.clone().decodeKeyed();
}