CodeGeneratorRequest constructor
CodeGeneratorRequest({})
Implementation
factory CodeGeneratorRequest({
$core.Iterable<$core.String>? fileToGenerate,
$core.String? parameter,
Version? compilerVersion,
$core.Iterable<$0.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;
}