isError property

Future<bool> get isError

Implementation

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