buildRequests method
Implementation
List<ChartExportRequest> buildRequests() {
final explicitRequests = requests;
if (explicitRequests != null) return explicitRequests;
return List.unmodifiable(
formats.map(
(format) => ChartExportRequest(
format: format,
config: config,
jsonConfig: jsonConfig,
rows: rows,
boundaryKey: boundaryKey,
categoryLabels: categoryLabels,
filename: filename,
sheetName: sheetName,
delimiter: delimiter,
lineEnding: lineEnding,
pixelRatio: pixelRatio,
jpegQuality: jpegQuality,
jpegBackgroundColor: jpegBackgroundColor,
),
),
);
}