copyWith abstract method
The concrete class must implement this method to return a new instance of the state with the given parameters.
Implementation
T copyWith({
List<Message>? messages,
Set<LoadingState> loadingStates,
});
The concrete class must implement this method to return a new instance of the state with the given parameters.
T copyWith({
List<Message>? messages,
Set<LoadingState> loadingStates,
});