QueryServiceDescriptor constructor

QueryServiceDescriptor({
  1. String? fullname,
  2. bool? isModule,
  3. Iterable<QueryMethodDescriptor>? methods,
})

Implementation

factory QueryServiceDescriptor({
  $core.String? fullname,
  $core.bool? isModule,
  $core.Iterable<QueryMethodDescriptor>? methods,
}) {
  final _result = create();
  if (fullname != null) {
    _result.fullname = fullname;
  }
  if (isModule != null) {
    _result.isModule = isModule;
  }
  if (methods != null) {
    _result.methods.addAll(methods);
  }
  return _result;
}