MethodDescriptorProto constructor
MethodDescriptorProto({})
Implementation
factory MethodDescriptorProto({
$core.String? name,
$core.String? inputType,
$core.String? outputType,
MethodOptions? options,
$core.bool? clientStreaming,
$core.bool? serverStreaming,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (inputType != null) {
$result.inputType = inputType;
}
if (outputType != null) {
$result.outputType = outputType;
}
if (options != null) {
$result.options = options;
}
if (clientStreaming != null) {
$result.clientStreaming = clientStreaming;
}
if (serverStreaming != null) {
$result.serverStreaming = serverStreaming;
}
return $result;
}