setPositions method
Replaces open positions on the chart.
Implementation
void setPositions(List<ChartPosition> positions) {
_positions
..clear()
..addAll(positions);
notifyListeners();
}
Replaces open positions on the chart.
void setPositions(List<ChartPosition> positions) {
_positions
..clear()
..addAll(positions);
notifyListeners();
}