memberSet method

  1. @override
void memberSet(
  1. String varName,
  2. dynamic varValue, {
  3. String? from,
})
override

Assign a value to a member by the varName, in the form of

object.varName = varValue

varName must be of String type.

Implementation

@override
void memberSet(String varName, dynamic varValue, {String? from}) =>
    object.memberSet(varName, varValue, cast: klass.id, from: from);