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