init method Null safety

  1. @override
void init(
  1. Map<String?, ClassMirror?> knownClasses,
  2. Map<Type, ValueDecoratorFunction> valueDecorators,
  3. Map<Type, dynamic> enumValues
)
override

Implementation

@override
void init(
    Map<String?, ClassMirror?> knownClasses,
    Map<Type, ValueDecoratorFunction> valueDecorators,
    Map<Type, dynamic> enumValues) {
  _knownClasses = knownClasses;
  _valueDecoratorTypes = valueDecorators.keys;
  _enumValues = enumValues;
}