ModuleConfig constructor

ModuleConfig({
  1. String? id,
  2. String? type,
  3. Map<String, String>? inputChannels,
  4. Map<String, String>? outputChannels,
  5. Struct? properties,
})

Implementation

factory ModuleConfig({
  $core.String? id,
  $core.String? type,
  $core.Map<$core.String, $core.String>? inputChannels,
  $core.Map<$core.String, $core.String>? outputChannels,
  $3.Struct? properties,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (type != null) {
    $result.type = type;
  }
  if (inputChannels != null) {
    $result.inputChannels.addAll(inputChannels);
  }
  if (outputChannels != null) {
    $result.outputChannels.addAll(outputChannels);
  }
  if (properties != null) {
    $result.properties = properties;
  }
  return $result;
}