request method

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

Returns the new PermissionStatus.

Implementation

Future<PermissionStatus> request() async {
  final permissionStatus = (await [this].request())[this];
  return permissionStatus ?? PermissionStatus.denied;
}