get method
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case 'latitude':
return position.latitude;
case 'longitude':
return position.longitude;
case 'accuracy':
return position.accuracy;
}
}