permissionsStatus method
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.
Implementation
Future<bool> permissionsStatus() async {
final bool resultStatus = await _channel.invokeMethod("permissionsStatus");
return resultStatus;
}