Commit 0f12b1a6 by Marcel Garus

Fix ServiceStatus description

parent 666be9d1
......@@ -161,7 +161,7 @@ Map<Permission, PermissionStatus> statuses = await [
print(statuses[Permission.location]);
```
All location permissions and the `Permission.sensor` have an associated service, which also has a status.
Some permissions, for example location or acceleration sensor permissions, have an associated service, which also has a status that can be `enabled` or `disabled`.
```dart
if (await Permission.locationWhenInUse.serviceStatus.isEnabled) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment