htAssign method

dynamic htAssign(
  1. String varName,
  2. dynamic varValue
)

Implementation

dynamic htAssign(String varName, dynamic varValue) {
  switch (varName) {
    case 'first':
      first = varValue;
      break;
    case 'last':
      last = varValue;
      break;
    default:
      throw HTError.undefined(varName);
  }
}