permissionsStatus method Null safety

Future<bool> permissionsStatus()

Used to check Android permissions status

Important:

  • This method will always return a bool.
  • If return true [READ] and [WRITE] permissions is Granted, else [READ] and [WRITE] is Denied.

Platforms:

AndroidIOSWeb
✔️✔️

See more about platforms support

Implementation

Future<bool> permissionsStatus() async {
  return platform.permissionsStatus();
}