blob: 25bf78a39ae88d5784c39856b7162aead3fc0827 [file] [log] [blame] [view]
# InspectStateError class
*[<Null safety>](https://dart.dev/null-safety)*
<p>Thrown when the programmer misuses Inspect.</p>
**Inheritance**
- Object
- Error
- StateError
- InspectStateError
## Constructors
[InspectStateError](../package-fuchsia_inspect_inspect/InspectStateError/InspectStateError.md) (String message)
Constructor
## Properties
##### [hashCode](../package-fuchsia_inspect_inspect/InspectStateError/hashCode.md) &#8594; int
The hash code for this object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [message](../package-fuchsia_inspect_inspect/InspectStateError/message.md) &#8594; String
_<span class="feature final">final</span><span class="feature inherited">inherited</span>_
##### [runtimeType](../package-fuchsia_inspect_inspect/InspectStateError/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [stackTrace](../package-fuchsia_inspect_inspect/InspectStateError/stackTrace.md) &#8594; StackTrace?
The stack trace at the point where this error was first thrown.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
## Methods
##### [noSuchMethod](../package-fuchsia_inspect_inspect/InspectStateError/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_<span class="feature inherited">inherited</span>_
##### [toString](../package-fuchsia_inspect_inspect/InspectStateError/toString.md)() String
A string representation of this object.
_<span class="feature inherited">inherited</span>_
## Operators
##### [operator ==](../package-fuchsia_inspect_inspect/InspectStateError/operator_equals.md)(Object other) bool
The equality operator.
_<span class="feature inherited">inherited</span>_