getLastKnownLocation method
Get the last known location.
Implementation
Future<location.LocationData> getLastKnownLocation() async =>
_lastKnownLocation ?? await locationManager.getLocation();
Get the last known location.
Future<location.LocationData> getLastKnownLocation() async =>
_lastKnownLocation ?? await locationManager.getLocation();