position abstract method
Get the current GeoPoint (latitude, longitude) and altitude (mm).
var position = await myMovementSensor.position();
For more information, see Movement Sensor component.
Implementation
Future<Position> position({Map<String, dynamic>? extra});