isError property

Future<bool> isError

Implementation

Future<bool> get isError async {
  return mandatory && !await isGranted;
}