updateMotion method
- BarMotionStyle update(
- BarMotionStyle current
Rebuilds BarChartStyle.motion from its current value.
update receives the current BarMotionStyle and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
BarChartStyle updateMotion(
BarMotionStyle Function(BarMotionStyle current) update,
) => copyWith(motion: update(motion));