1. Dart
2. dart:core
3. StateError
4. toString method

##### StateError class

1. Constructors
2. StateError
3. Properties
4. hashCode
5. message
6. runtimeType
7. stackTrace
8. Methods
9. noSuchMethod
10. toString
11. Operators
12. operator ==

description

# toString method Null safety

String toString ()
override

Returns a string representation of this object.

## Implementation

    String toString() => "Bad state: $message";