requestPermissions method

Future<String?> requestPermissions([
  1. dynamic background
])

The function requestPermissions is not implemented and throws an UnimplementedError. @param background - 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([background]) {
  throw UnimplementedError('requestPermissions() has not been implemented.');
}