requestPermissions method

Future<String?> requestPermissions({
  1. bool withBackgroundAccess = false,
})

The function requestPermissions is not implemented and throws an UnimplementedError. @param {bool} withBackgroundAccess=false - The "background" parameter is a boolean value that indicates whether the permission request should be made in the background or foreground. If it is set to true, the permission request will be made in the background, otherwise it will be made in the foreground.

Implementation

Future<String?> requestPermissions({bool withBackgroundAccess = false}) {
  throw UnimplementedError('requestPermissions() has not been implemented.');
}