ErrorState class

Represents error information for an asynchronous operation.

Constructors

ErrorState.new(Object error, {String? message, StackTrace? stackTrace})
Creates an ErrorState with the given error, optional message, and stackTrace.
const

Properties

error Object
The error object.
final
hashCode int
The hash code for this object.
no setteroverride
message String?
An optional error message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
An optional stack trace associated with the error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override