locationWhenInUse constant
PermissionWithService
const locationWhenInUse
Permission for accessing the device's location when the app is running in the foreground.
Android: Fine and Coarse Location iOS: CoreLocation - WhenInUse
Implementation
static const locationWhenInUse = PermissionWithService._(5);