isAllGranted property

  1. @override
Future<bool> 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;
}