get method

  1. @override
Object? get(
  1. Token name
)
override

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case 'cancel':
      return _timer.cancel;
    case 'isActive':
      return _timer.isActive;
    case 'tick':
      return _timer.tick;
  }
}