hasLocationPermission static method
Implementation
static Future<bool> hasLocationPermission() async{
return await hasPermission(Permission.location) && await hasPermission(Permission.locationAlways) && await hasPermission(Permission.locationWhenInUse)
&& await Permission.locationWhenInUse.serviceStatus.isEnabled;
}