withMagnitude method

CandlestickDataPoint withMagnitude(
  1. double value
)

Replaces CandlestickDataPoint.magnitude with value.

Implementation

CandlestickDataPoint withMagnitude(double value) =>
    copyWith(magnitude: value);