shouldShowRationale method
Implementation
Future<bool> shouldShowRationale(Permission permission) async {
final status = await permission.status;
final shouldShowRationale = await permission.shouldShowRequestRationale;
return [PermissionStatus.permanentlyDenied].contains(status) || shouldShowRationale;
}