getCurrent method

Future<Position> getCurrent()

Implementation

Future<Position> getCurrent() async {
  return Geolocator.getCurrentPosition(locationSettings: settings);
}