SetValueCreator typedef

SetValueCreator = void Function(Object instance, String name, Object? value)

Typedef for a function that sets the value of a field on an instance of type Object.

  • instance: The target object.
  • name: The name of the field to assign.
  • value: The value to set.

Implementation

typedef SetValueCreator = void Function(Object instance, String name, Object? value);