isAllGranted property

  1. @override
Future<bool> get isAllGranted
override

Implementation

@override
Future<bool> get isAllGranted async {
  bool ret = true;
  await Future.forEach<AppPermission>(permissions, (appPermission) async {
    bool ret = true;
    ret = ret && await appPermission.isGranted;
    return ret;
  });
  return ret;
}