InterpretedExtension constructor

InterpretedExtension({
  1. String? name,
  2. required RuntimeType onType,
  3. bool isOnNullableType = false,
  4. required Map<String, Callable> members,
  5. Map<String, Callable>? staticMethods,
  6. Map<String, Callable>? staticGetters,
  7. Map<String, Callable>? staticSetters,
  8. Map<String, Object?>? staticFields,
})

Implementation

InterpretedExtension({
  this.name,
  required this.onType,
  this.isOnNullableType = false,
  required this.members,
  Map<String, Callable>? staticMethods,
  Map<String, Callable>? staticGetters,
  Map<String, Callable>? staticSetters,
  Map<String, Object?>? staticFields,
})  : staticMethods = staticMethods ?? {},
      staticGetters = staticGetters ?? {},
      staticSetters = staticSetters ?? {},
      staticFields = staticFields ?? {};