handleSettingsChanges method

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

Handles settings changes.

Implementation

@protected
@mustCallSuper
void handleSettingsChanges(FastAppSettingsBlocState state) {
  if (isInitialized) {
    debugLog('Settings changed, reloading metadata', debugLabel: debugLabel);
    addDebouncedLoadMetadataEvent(
      FastCalculatorBlocEvent.loadMetadata<R>() as E,
    );
  }
}