MyMessage constructor
MyMessage({})
Implementation
factory MyMessage({
MyEnum? e,
$core.Iterable<MyEnum>? repeatedE,
$core.Iterable<MyEnum>? repeatedPackedE,
$core.Iterable<MyEnumPlusExtra>? repeatedPackedUnexpectedE,
MyEnum? oneofE1,
MyEnum? oneofE2,
}) {
final _result = create();
if (e != null) {
_result.e = e;
}
if (repeatedE != null) {
_result.repeatedE.addAll(repeatedE);
}
if (repeatedPackedE != null) {
_result.repeatedPackedE.addAll(repeatedPackedE);
}
if (repeatedPackedUnexpectedE != null) {
_result.repeatedPackedUnexpectedE.addAll(repeatedPackedUnexpectedE);
}
if (oneofE1 != null) {
_result.oneofE1 = oneofE1;
}
if (oneofE2 != null) {
_result.oneofE2 = oneofE2;
}
return _result;
}