updateIndicatorConfig method
Updates the current widget.config with the latest values set in menus
options and returns the updated config.
Implementation
@override
BollingerBandsIndicatorConfig updateIndicatorConfig() =>
(widget.config as BollingerBandsIndicatorConfig).copyWith(
period: getCurrentPeriod(),
movingAverageType: getCurrentType(),
standardDeviation: _getCurrentStandardDeviation(),
fieldType: getCurrentField(),
);