decodeKeyed method
Implementation
Map<K, V> decodeKeyed(KeyedDecoder keyed) {
final map = <K, V>{};
for (Object? key; (key = keyed.nextKey()) != null;) {
if (keyCodable != null && key is! K) {
key = StandardDecoder.decode<K>(key, using: keyCodable!);
}
map[key as K] = keyed.decodeObject(using: codable);
}
return map;
}