OrganizationResponse constructor

OrganizationResponse({
  1. Organization? organization,
  2. Iterable<Organization>? organizations,
})

Implementation

factory OrganizationResponse({
  Organization? organization,
  $core.Iterable<Organization>? organizations,
}) {
  final _result = create();
  if (organization != null) {
    _result.organization = organization;
  }
  if (organizations != null) {
    _result.organizations.addAll(organizations);
  }
  return _result;
}