DatumDetails<D>.from constructor

DatumDetails<D>.from(
  1. DatumDetails<D> other, {
  2. D? datum,
  3. int? index,
  4. D? domain,
  5. D? domainLowerBound,
  6. D? domainUpperBound,
  7. num? measure,
  8. MeasureFormatter? measureFormatter,
  9. num? measureLowerBound,
  10. num? measureUpperBound,
  11. num? measureOffset,
  12. num? rawMeasure,
  13. num? rawMeasureLowerBound,
  14. num? rawMeasureUpperBound,
  15. ImmutableSeries<D>? series,
  16. Color? color,
  17. Color? fillColor,
  18. FillPatternType? fillPattern,
  19. Color? areaColor,
  20. List<int>? dashPattern,
  21. NullablePoint? chartPosition,
  22. NullablePoint? chartPositionLower,
  23. NullablePoint? chartPositionUpper,
  24. Rectangle<int>? bounds,
  25. DomainFormatter<D>? domainFormatter,
  26. double? domainDistance,
  27. double? measureDistance,
  28. double? radiusPx,
  29. SymbolRenderer? symbolRenderer,
})

Implementation

factory DatumDetails.from(
  DatumDetails<D> other, {
  D? datum,
  int? index,
  D? domain,
  D? domainLowerBound,
  D? domainUpperBound,
  num? measure,
  MeasureFormatter? measureFormatter,
  num? measureLowerBound,
  num? measureUpperBound,
  num? measureOffset,
  num? rawMeasure,
  num? rawMeasureLowerBound,
  num? rawMeasureUpperBound,
  ImmutableSeries<D>? series,
  Color? color,
  Color? fillColor,
  FillPatternType? fillPattern,
  Color? areaColor,
  List<int>? dashPattern,
  NullablePoint? chartPosition,
  NullablePoint? chartPositionLower,
  NullablePoint? chartPositionUpper,
  Rectangle<int>? bounds,
  DomainFormatter<D>? domainFormatter,
  double? domainDistance,
  double? measureDistance,
  double? radiusPx,
  SymbolRenderer? symbolRenderer,
}) =>
    DatumDetails<D>(
      datum: datum ?? other.datum,
      index: index ?? other.index,
      domain: domain ?? other.domain,
      domainFormatter: domainFormatter ?? other.domainFormatter,
      domainLowerBound: domainLowerBound ?? other.domainLowerBound,
      domainUpperBound: domainUpperBound ?? other.domainUpperBound,
      measure: measure ?? other.measure,
      measureFormatter: measureFormatter ?? other.measureFormatter,
      measureLowerBound: measureLowerBound ?? other.measureLowerBound,
      measureUpperBound: measureUpperBound ?? other.measureUpperBound,
      measureOffset: measureOffset ?? other.measureOffset,
      rawMeasure: rawMeasure ?? other.rawMeasure,
      rawMeasureLowerBound:
          rawMeasureLowerBound ?? other.rawMeasureLowerBound,
      rawMeasureUpperBound:
          rawMeasureUpperBound ?? other.rawMeasureUpperBound,
      series: series ?? other.series,
      color: color ?? other.color,
      fillColor: fillColor ?? other.fillColor,
      fillPattern: fillPattern ?? other.fillPattern,
      areaColor: areaColor ?? other.areaColor,
      dashPattern: dashPattern ?? other.dashPattern,
      chartPosition: chartPosition ?? other.chartPosition,
      chartPositionLower: chartPositionLower ?? other.chartPositionLower,
      chartPositionUpper: chartPositionUpper ?? other.chartPositionUpper,
      bounds: bounds ?? other.bounds,
      domainDistance: domainDistance ?? other.domainDistance,
      measureDistance: measureDistance ?? other.measureDistance,
      radiusPx: radiusPx ?? other.radiusPx,
      symbolRenderer: symbolRenderer ?? other.symbolRenderer,
      strokeWidthPx: radiusPx ?? other.strokeWidthPx,
    );