shouldShowRequestPermissionRationale method

Future<bool> shouldShowRequestPermissionRationale(
  1. Permission permission
)

Checks if you should show a rationale for requesting permission.

This method is only implemented on Android, calling this on iOS always returns false.

Implementation

Future<bool> shouldShowRequestPermissionRationale(Permission permission) {
  throw UnimplementedError(
      'shouldShowRequestPermissionRationale() has not been implemented.');
}