merge method

  1. @override
FastThemeBlocState merge(
  1. covariant FastThemeBlocState model
)
override

Merges the current state with the provided model.

Any non-null property of model replaces the corresponding property of the current state.

Implementation

@override
FastThemeBlocState merge(covariant FastThemeBlocState model) {
  return copyWith(
    isInitializing: model.isInitializing,
    isInitialized: model.isInitialized,
    brightness: model.brightness,
    themeMode: model.themeMode,
  );
}