CsvIndexSpecs constructor

CsvIndexSpecs({
  1. Iterable<CsvIndexSpec>? specs,
  2. int? separatorChar,
  3. UInt32Value? quoteChar,
})

Implementation

factory CsvIndexSpecs({
  $core.Iterable<CsvIndexSpec>? specs,
  $core.int? separatorChar,
  $22.UInt32Value? quoteChar,
}) {
  final _result = create();
  if (specs != null) {
    _result.specs.addAll(specs);
  }
  if (separatorChar != null) {
    _result.separatorChar = separatorChar;
  }
  if (quoteChar != null) {
    _result.quoteChar = quoteChar;
  }
  return _result;
}