MessageDispatchResult class

Result of a message dispatch operation.

Contains information about the success status and any exceptions that occurred during the dispatch process.

Constructors

MessageDispatchResult({required Message message, required bool isSuccess, Exception? exception})

Properties

exception Exception?
Exception that occurred during dispatch, if any.
final
hashCode int
The hash code for this object.
no setterinherited
isSuccess bool
Whether the dispatch operation was successful.
final
message Message
The original message that was dispatched.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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