getLastKnownLocation method

Future<LocationData> getLastKnownLocation()

Get the last known location.

Implementation

Future<location.LocationData> getLastKnownLocation() async =>
    _lastKnownLocation ?? await locationManager.getLocation();