AddOrganizationRequest_Admin constructor

AddOrganizationRequest_Admin({
  1. String? userId,
  2. AddHumanUserRequest? human,
  3. Iterable<String>? roles,
})

Implementation

factory AddOrganizationRequest_Admin({
  $core.String? userId,
  $0.AddHumanUserRequest? human,
  $core.Iterable<$core.String>? roles,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (human != null) {
    $result.human = human;
  }
  if (roles != null) {
    $result.roles.addAll(roles);
  }
  return $result;
}