Open markokarajlovic opened 4 months ago
Hello guys! This is an amazing feature to include with the package! Do you know if and when are we going to have it?
I don't really have a plan to do that for now.
Currently have to manually write copyWithX even with freezed because of lack of this feature. Default value is often needed in CopyWith when working with bloc.
This is also necessary for my project with Bloc. Please kindly consider adding this feature.
I am using freezed for state class in bloc.
And every time I emit new state I need to pass null for listenStatus so listener on UI dont trigger every time or I need to override listenWhen to handle it.
emit(state.copyWith(listenStatus: null))
Can you implemented something like this so when I dont pass nothing it will get CopyWithDefault value: