getPermissionsStatus method
The function getPermissionsStatus
returns the status of permissions by invoking a method on a
method channel.
@returns The method is returning a Future
object that resolves to a String
or null
.
Implementation
@override
Future<String?> getPermissionsStatus() async {
final returnVal =
await methodChannel.invokeMethod<String>('getPermissionsStatus');
return returnVal;
}