shouldPromptUser property

bool get shouldPromptUser

Whether the user should be prompted to enable permissions.

Implementation

bool get shouldPromptUser {
  return this == PermissionStatus.denied ||
      this == PermissionStatus.partiallyGranted;
}