setValue abstract method
void
setValue(
- dynamic instance,
- dynamic value
Sets the value of this field on the given instance
.
- If the field is static,
instance
must benull
. - If the field is instance-based,
instance
must be a valid object.
Throws if the field is final
, const
, or cannot be written to.
Implementation
void setValue(dynamic instance, dynamic value);