setFor method

void setFor(
  1. O object,
  2. T v
)

Sets this field value for the object instance. See setNullable.

Implementation

void setFor(O object, T v) {
  final setterAccessor = _resolveSetterAccessor();
  final setter = setterAccessor(object);
  setter(v);
}