merge method
Merges the current state with another instance of
FastCalculatorBlocState
.
Implementation
@override
FastCalculatorBlocState<F, R> merge(
covariant FastCalculatorBlocState<F, R> model,
) {
return copyWith(
metadata: model.metadata,
isInitializing: model.isInitializing,
isInitialized: model.isInitialized,
results: results.merge(model.results) as R,
fields: fields.merge(model.fields) as F,
isValid: model.isValid,
isDirty: model.isDirty,
isBusy: model.isBusy,
);
}