ServiceDescriptorProto constructor
ServiceDescriptorProto({
- String? name,
- Iterable<
MethodDescriptorProto> ? method, - ServiceOptions? options,
Implementation
factory ServiceDescriptorProto({
$core.String? name,
$core.Iterable<MethodDescriptorProto>? method,
ServiceOptions? options,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (method != null) {
_result.method.addAll(method);
}
if (options != null) {
_result.options = options;
}
return _result;
}