codecNamed method

  1. @override
ComponentCodec<Object>? codecNamed(
  1. String id
)
override

The codec registered under id; null when there is none (absent).

Implementation

@override
ComponentCodec<Object>? codecNamed(String id) {
  for (final MapEntry(key: type, value: info) in _store.infos.entries) {
    if (info.id == id) return _store.codecs[type];
  }
  return null;
}