Permission class

A utility class that defines constant strings representing various types of permissions that can be requested by an application.

The available permissions include:

  • camera: Access to the device's camera.
  • microphone: Access to the device's microphone.
  • bluetooth: Access to Bluetooth functionality.
  • storage: Access to device storage (read/write).
  • contacts: Access to the user's contacts.
  • location: Access to the device's location services.
  • notification: Permission to send notifications.
  • biometric: Access to biometric authentication (e.g., fingerprint, face ID).
  • calendar: Access to the user's calendar.
  • sensors: Access to motion sensors on the device.

Constructors

Permission()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

biometric → const String
bluetooth → const String
calendar → const String
camera → const String
contacts → const String
location → const String
microphone → const String
notification → const String
sensors → const String
storage → const String