subGet method

dynamic subGet(
  1. dynamic varName, {
  2. String? from,
})

Fetch a member by the varName, in the form of

object[varName]

varName is of dynamic type, and will be converted to String by toString method.

Implementation

dynamic subGet(dynamic varName, {String? from}) {
  throw HTError.undefined(varName);
}