hasPermission method

Future<PermissionStatus> hasPermission()

Has the app permission to access location?

If the result is PermissionStatus.deniedForever, no dialog will be shown on requestPermission.

Implementation

Future<location.PermissionStatus> hasPermission() async =>
    await locationManager.hasPermission();