CodeGeneratorRequest constructor
CodeGeneratorRequest({})
Implementation
factory CodeGeneratorRequest({
$core.Iterable<$core.String>? fileToGenerate,
$core.String? parameter,
Version? compilerVersion,
$core.Iterable<$3.FileDescriptorProto>? protoFile,
}) {
final _result = create();
if (fileToGenerate != null) {
_result.fileToGenerate.addAll(fileToGenerate);
}
if (parameter != null) {
_result.parameter = parameter;
}
if (compilerVersion != null) {
_result.compilerVersion = compilerVersion;
}
if (protoFile != null) {
_result.protoFile.addAll(protoFile);
}
return _result;
}