PermissionActions extension

Actions that can be executed on a permission.

on

Properties

shouldShowRequestRationale Future<bool>

Available on Permission, provided by the PermissionActions extension

If you should show a rationale for requesting permission.
no setter
status Future<PermissionStatus>

Available on Permission, provided by the PermissionActions extension

Checks the current status of the given Permission.
no setter

Methods

request() Future<PermissionStatus>

Available on Permission, provided by the PermissionActions extension

Request the user for access to this Permission, if access hasn't already been grant access before.