requestWhenInUse static method
Requests foreground (when-in-use) location permission.
Implementation
static Future<PermissionStatus> requestWhenInUse() {
return Permission.locationWhenInUse.request();
}
Requests foreground (when-in-use) location permission.
static Future<PermissionStatus> requestWhenInUse() {
return Permission.locationWhenInUse.request();
}