InterfaceDescriptor constructor

InterfaceDescriptor({
  1. String? fullname,
  2. Iterable<InterfaceAcceptingMessageDescriptor>? interfaceAcceptingMessages,
  3. Iterable<InterfaceImplementerDescriptor>? interfaceImplementers,
})

Implementation

factory InterfaceDescriptor({
  $core.String? fullname,
  $core.Iterable<InterfaceAcceptingMessageDescriptor>? interfaceAcceptingMessages,
  $core.Iterable<InterfaceImplementerDescriptor>? interfaceImplementers,
}) {
  final _result = create();
  if (fullname != null) {
    _result.fullname = fullname;
  }
  if (interfaceAcceptingMessages != null) {
    _result.interfaceAcceptingMessages.addAll(interfaceAcceptingMessages);
  }
  if (interfaceImplementers != null) {
    _result.interfaceImplementers.addAll(interfaceImplementers);
  }
  return _result;
}