set method

  1. @override
Object? set(
  1. Token name,
  2. Object? value
)
override

Implementation

@override
Object? set(Token name, Object? value) {
  switch (name.lexeme) {
    case 'text':
      text = value as String;
      break;
  }
}