copyWith abstract method
Creates a copy of the current state with optional modifications.
This method should be implemented by subclasses to create a new instance of the state, allowing partial updates to specific properties without changing the original instance.
Implementation
JState copyWith();