registerCustomCodec method
Parses metadata and adds it to registry
Implementation
void registerCustomCodec(Map<String, dynamic> metadata) {
for (final mapEntry in metadata.entries) {
final key = mapEntry.key;
final value = mapEntry.value;
if (getCodec(key) != null) {
continue;
}
final codec = _parseCodec(metadata, key, value, <String>{}, true);
if (getCodec(key) == null) {
addCodec(key, codec);
}
}
_callProxyLoaders();
}