ChartExportRequest.csvRows constructor

const ChartExportRequest.csvRows({
  1. required List<List<Object?>> rows,
  2. String? filename,
  3. String delimiter = ',',
  4. String lineEnding = '\r\n',
  5. Duration? timeout,
  6. ChartExportCancellationToken? cancellationToken,
})

Implementation

const ChartExportRequest.csvRows({
  required List<List<Object?>> this.rows,
  this.filename,
  this.delimiter = ',',
  this.lineEnding = '\r\n',
  this.timeout,
  this.cancellationToken,
}) : format = ChartExportFormat.csv,
     config = null,
     jsonConfig = null,
     boundaryKey = null,
     categoryLabels = null,
     sheetName = 'Chart Data',
     pixelRatio = 2.0,
     jpegQuality = 90,
     jpegBackgroundColor = Colors.white;