shouldOpenAppSettings method

Future<bool> shouldOpenAppSettings(
  1. Permission permission
)

Implementation

Future<bool> shouldOpenAppSettings(Permission permission) async {
  final status = await permission.status;
  return PermissionStatus.permanentlyDenied == status;
}