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 'value':
      if (_value == value) {
        break;
      }
      _value = value!;
      notifyListeners();
      break;
  }
}