DynamicEnumCodec<V>.sparse constructor

DynamicEnumCodec<V>.sparse({
  1. required Registry registry,
  2. required Map<int, String> map,
})

Implementation

DynamicEnumCodec.sparse(
    {required this.registry, required Map<int, String> map}) {
  this.map.addAll(map);
}