ModuleListResponse constructor

ModuleListResponse({
  1. Iterable<ModuleListResponse_ModuleDescriptor>? descriptors,
  2. LogMessageSeverityLevel? logSeverityLevelForHost,
})

Implementation

factory ModuleListResponse({
  $core.Iterable<ModuleListResponse_ModuleDescriptor>? descriptors,
  LogMessageSeverityLevel? logSeverityLevelForHost,
}) {
  final $result = create();
  if (descriptors != null) {
    $result.descriptors.addAll(descriptors);
  }
  if (logSeverityLevelForHost != null) {
    $result.logSeverityLevelForHost = logSeverityLevelForHost;
  }
  return $result;
}