StructuredQuery_Order constructor

StructuredQuery_Order({
  1. StructuredQuery_FieldReference? field_1,
  2. StructuredQuery_Direction? direction,
})

Implementation

factory StructuredQuery_Order({
  StructuredQuery_FieldReference? field_1,
  StructuredQuery_Direction? direction,
}) {
  final _result = create();
  if (field_1 != null) {
    _result.field_1 = field_1;
  }
  if (direction != null) {
    _result.direction = direction;
  }
  return _result;
}