Permissions constructor

Permissions({
  1. SuperUserPermissions? superUser,
  2. ExplicitPermissions? explicit,
})

Implementation

factory Permissions({
  SuperUserPermissions? superUser,
  ExplicitPermissions? explicit,
}) {
  final $result = create();
  if (superUser != null) {
    $result.superUser = superUser;
  }
  if (explicit != null) {
    $result.explicit = explicit;
  }
  return $result;
}