InitRuntimeRequest constructor

InitRuntimeRequest({
  1. Runtime? runtime,
  2. Iterable<InitRuntimeRequest_ModuleChannels>? modules,
})

Implementation

factory InitRuntimeRequest({
  Runtime? runtime,
  $core.Iterable<InitRuntimeRequest_ModuleChannels>? modules,
}) {
  final $result = create();
  if (runtime != null) {
    $result.runtime = runtime;
  }
  if (modules != null) {
    $result.modules.addAll(modules);
  }
  return $result;
}