handleSettingsChanges method

  1. @override
  2. @protected
void handleSettingsChanges(
  1. FastAppSettingsBlocState state
)
override

Handles settings changes.

Implementation

@override
@protected
void handleSettingsChanges(FastAppSettingsBlocState state) {
  super.handleSettingsChanges(state);

  if (isInitialized) {
    debugLog('Settings changed, checking save entry', debugLabel: debugLabel);
    addDebouncedSaveEntryEvent(
      FastCalculatorBlocEvent.saveEntryChanged<R>() as E,
    );
  }
}