toString method
Returns a string representation of this Change object.
Returns: A string containing the current and next state values
Example:
final change = Change(currentState: 0, nextState: 1);
print(change.toString()); // "Change { currentState: 0, nextState: 1 }"
Implementation
@override
String toString() {
return 'Change { currentState: $currentState, nextState: $nextState }';
}