ChartPayloadContract constructor

const ChartPayloadContract({
  1. required ChartType type,
  2. required ChartSeriesDataShape dataShape,
  3. required ChartPayloadSeriesStrategy seriesStrategy,
  4. List<String> dataFieldPriority = const [],
  5. String? namedCollectionField,
  6. bool requiresSeries = true,
  7. bool usesExternalDataModel = false,
})

Implementation

const ChartPayloadContract({
  required this.type,
  required this.dataShape,
  required this.seriesStrategy,
  this.dataFieldPriority = const [],
  this.namedCollectionField,
  this.requiresSeries = true,
  this.usesExternalDataModel = false,
});