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}) {
  if (externalClass != null) {
    externalClass!.instanceMemberSet(externalObject, varName, varValue);
  } else {
    throw HTError.unknownExternalTypeName(typeString);
  }
}