get method
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case "metrics":
return ScrollMetricsIns(notification.metrics);
case "context":
return notification.context;
case "runtimeType":
return notification.runtimeType;
default:
throw "Unknown property $name";
}
}