TestFieldOrderings constructor

TestFieldOrderings({
  1. Int64? myInt,
  2. String? myString,
  3. double? myFloat,
  4. TestFieldOrderings_NestedMessage? optionalNestedMessage,
})

Implementation

factory TestFieldOrderings({
  $fixnum.Int64? myInt,
  $core.String? myString,
  $core.double? myFloat,
  TestFieldOrderings_NestedMessage? optionalNestedMessage,
}) {
  final _result = create();
  if (myInt != null) {
    _result.myInt = myInt;
  }
  if (myString != null) {
    _result.myString = myString;
  }
  if (myFloat != null) {
    _result.myFloat = myFloat;
  }
  if (optionalNestedMessage != null) {
    _result.optionalNestedMessage = optionalNestedMessage;
  }
  return _result;
}