hasPermission method
Checks if the app has permission to access location.
If the result is PermissionStatus.deniedForever, no dialog will be
shown on requestPermission.
Returns a PermissionStatus
object.
Implementation
@override
Future<PermissionStatus> hasPermission() {
return LocationPlatform.instance.hasPermission();
}