@override Object? get(Token name) { switch (name.lexeme) { case 'showSnackBar': return state.showSnackBar; } }