ModuleListRequest constructor

ModuleListRequest({
  1. Runtime? runtime,
  2. Iterable<String>? supportedModuleClasses,
  3. Map<String, ModuleAnnotation>? moduleAnnotations,
})

Implementation

factory ModuleListRequest({
  Runtime? runtime,
  $core.Iterable<$core.String>? supportedModuleClasses,
  $core.Map<$core.String, ModuleAnnotation>? moduleAnnotations,
}) {
  final $result = create();
  if (runtime != null) {
    $result.runtime = runtime;
  }
  if (supportedModuleClasses != null) {
    $result.supportedModuleClasses.addAll(supportedModuleClasses);
  }
  if (moduleAnnotations != null) {
    $result.moduleAnnotations.addAll(moduleAnnotations);
  }
  return $result;
}