merge method

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

Creates a new TModel where each properties from this object has been merged with the matching properties from the other object.

For example:

var myModel3 = myModel1.merge(myModel2);

Implementation

@override
FastRewardedAdBlocState merge(
  covariant FastRewardedAdBlocState model,
) {
  return copyWith(
    isInitializing: model.isInitializing,
    isInitialized: model.isInitialized,
    isLoadingAd: model.isLoadingAd,
    error: model.error,
    hasLoadedAd: model.hasLoadedAd,
    isShowingAd: model.isShowingAd,
    hasDismissedAd: model.hasDismissedAd,
    requestId: model.requestId,
  );
}