merge method

  1. @override
FastPlanBlocState merge(
  1. covariant FastPlanBlocState 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
FastPlanBlocState merge(covariant FastPlanBlocState model) {
  return FastPlanBlocState(
    isPlanPurchasePending: model.isPlanPurchasePending,
    hasPurchasedPlan: model.hasPurchasedPlan,
    isRestoringPlan: model.isRestoringPlan,
    planId: model.planId,
    error: model.error,
  );
}