encodeKeyed method
Starts encoding a keyed collection or key-value pairs.
The returned KeyedEncoder should be used to encode the key-value pairs. The KeyedEncoder.end method should be called when all key-value pairs have been encoded.
Implementation
@override
KeyedEncoder encodeKeyed() {
final map = <String, dynamic>{};
_value.add(map);
return StandardKeyedEncoder._(map, _isHumanReadable, _customTypes);
}