toString method Null safety
override
Returns a string representation of this object.
Implementation
String toString() => "Bad state: $message";
Returns a string representation of this object.
String toString() => "Bad state: $message";