ProcessorIOSpec_GraphInputChannelSpec constructor

ProcessorIOSpec_GraphInputChannelSpec({
  1. String? name,
  2. DataType? dataType,
  3. bool? required,
  4. Int64? maxConnectionAllowed,
  5. Iterable<String>? acceptedDataTypeUris,
})

Implementation

factory ProcessorIOSpec_GraphInputChannelSpec({
  $core.String? name,
  DataType? dataType,
  $core.bool? required,
  $fixnum.Int64? maxConnectionAllowed,
  $core.Iterable<$core.String>? acceptedDataTypeUris,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (dataType != null) {
    $result.dataType = dataType;
  }
  if (required != null) {
    $result.required = required;
  }
  if (maxConnectionAllowed != null) {
    $result.maxConnectionAllowed = maxConnectionAllowed;
  }
  if (acceptedDataTypeUris != null) {
    $result.acceptedDataTypeUris.addAll(acceptedDataTypeUris);
  }
  return $result;
}