hasRequiredPermissions method

bool hasRequiredPermissions()

Implementation

bool hasRequiredPermissions() {
  for (var p in PermissionsUtils.needed) {
    if (!contains(p)) {
      return false;
    }
  }
  return true;
}