TestEagerMaybeLazy constructor

TestEagerMaybeLazy({
  1. TestAllTypes? messageFoo,
  2. TestAllTypes? messageBar,
  3. TestEagerMaybeLazy_NestedMessage? messageBaz,
})

Implementation

factory TestEagerMaybeLazy({
  TestAllTypes? messageFoo,
  TestAllTypes? messageBar,
  TestEagerMaybeLazy_NestedMessage? messageBaz,
}) {
  final _result = create();
  if (messageFoo != null) {
    _result.messageFoo = messageFoo;
  }
  if (messageBar != null) {
    _result.messageBar = messageBar;
  }
  if (messageBaz != null) {
    _result.messageBaz = messageBaz;
  }
  return _result;
}