InterfaceDescriptor constructor
InterfaceDescriptor({
- String? fullname,
- Iterable<
InterfaceAcceptingMessageDescriptor> ? interfaceAcceptingMessages, - 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;
}