CsvIndexSpec constructor

CsvIndexSpec({
  1. int? fieldIndex,
  2. SortOrder? sortOrder,
  3. bool? isNumeric,
})

Implementation

factory CsvIndexSpec({
  $core.int? fieldIndex,
  SortOrder? sortOrder,
  $core.bool? isNumeric,
}) {
  final _result = create();
  if (fieldIndex != null) {
    _result.fieldIndex = fieldIndex;
  }
  if (sortOrder != null) {
    _result.sortOrder = sortOrder;
  }
  if (isNumeric != null) {
    _result.isNumeric = isNumeric;
  }
  return _result;
}