ConfigUploadPayload constructor

ConfigUploadPayload({
  1. CLAIDConfig? config,
  2. Iterable<DataFile>? payloadFiles,
  3. Iterable<ModuleInjectionDescription>? modulesToInject,
  4. String? payloadDataPath,
})

Implementation

factory ConfigUploadPayload({
  CLAIDConfig? config,
  $core.Iterable<DataFile>? payloadFiles,
  $core.Iterable<ModuleInjectionDescription>? modulesToInject,
  $core.String? payloadDataPath,
}) {
  final $result = create();
  if (config != null) {
    $result.config = config;
  }
  if (payloadFiles != null) {
    $result.payloadFiles.addAll(payloadFiles);
  }
  if (modulesToInject != null) {
    $result.modulesToInject.addAll(modulesToInject);
  }
  if (payloadDataPath != null) {
    $result.payloadDataPath = payloadDataPath;
  }
  return $result;
}