TestProto3OptionalMessage constructor

TestProto3OptionalMessage({
  1. TestProto3OptionalMessage_NestedMessage? nestedMessage,
  2. TestProto3OptionalMessage_NestedMessage? optionalNestedMessage,
})

Implementation

factory TestProto3OptionalMessage({
  TestProto3OptionalMessage_NestedMessage? nestedMessage,
  TestProto3OptionalMessage_NestedMessage? optionalNestedMessage,
}) {
  final _result = create();
  if (nestedMessage != null) {
    _result.nestedMessage = nestedMessage;
  }
  if (optionalNestedMessage != null) {
    _result.optionalNestedMessage = optionalNestedMessage;
  }
  return _result;
}