setValue<T> abstract method

void setValue<T>(
  1. T instance,
  2. String name,
  3. Object? value
)

Sets the value of an instance field name on the given instance of type T.

  • instance: The object on which to set the field value.
  • name: The name of the field.
  • value: The new value to set.

Throws an UnImplementedResolverException if the field cannot be resolved or is not settable.

Implementation

void setValue<T>(T instance, String name, Object? value);