ListInstancesResponse constructor

ListInstancesResponse({
  1. ListDetails? details,
  2. FieldName? sortingColumn,
  3. Iterable<Instance>? result,
})

Implementation

factory ListInstancesResponse({
  $8.ListDetails? details,
  $23.FieldName? sortingColumn,
  $core.Iterable<$23.Instance>? 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;
}