ListOrgsResponse constructor

ListOrgsResponse({
  1. ListDetails? details,
  2. OrgFieldName? sortingColumn,
  3. Iterable<Org>? result,
})

Implementation

factory ListOrgsResponse({
  $7.ListDetails? details,
  $18.OrgFieldName? sortingColumn,
  $core.Iterable<$18.Org>? result,
}) {
  final _result = create();
  if (details != null) {
    _result.details = details;
  }
  if (sortingColumn != null) {
    _result.sortingColumn = sortingColumn;
  }
  if (result != null) {
    _result.result.addAll(result);
  }
  return _result;
}