TestMessageWithCustomOptions constructor

TestMessageWithCustomOptions({
  1. String? field1,
  2. int? oneofField,
})

Implementation

factory TestMessageWithCustomOptions({
  $core.String? field1,
  $core.int? oneofField,
}) {
  final _result = create();
  if (field1 != null) {
    _result.field1 = field1;
  }
  if (oneofField != null) {
    _result.oneofField = oneofField;
  }
  return _result;
}