status property

Future<PermissionStatus> get status

Checks the current status of the given Permission.

Notes about specific permissions:

  • Permission.bluetooth
    • iOS 13.0 only:
      • The method will always return PermissionStatus.denied, regardless of the actual status. For the actual permission state, use Permission.bluetooth.request. Note that this will show a permission dialog if the permission was not yet requested.

Implementation

Future<PermissionStatus> get status => _handler.checkPermissionStatus(this);