ChartExportRequest.csvPayload constructor

const ChartExportRequest.csvPayload({
  1. required Map<String, dynamic> jsonConfig,
  2. List<String>? categoryLabels,
  3. String? filename,
  4. String delimiter = ',',
  5. String lineEnding = '\r\n',
  6. Duration? timeout,
  7. ChartExportCancellationToken? cancellationToken,
})

Implementation

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