FailedMessageEntry class

Bookkeeping for a failed message that can be retried.

Constructors

FailedMessageEntry({required String messageId, required MessageGroup messageGroup, required MessageDispatchCallback onDispatch})
Creates a FailedMessageEntry.

Properties

hashCode → int
The hash code for this object.
no setterinherited
messageGroup → MessageGroup
Group that currently contains the failed message.
final
messageId → String
Id of the failed message.
final
onDispatch → MessageDispatchCallback
Callback used to send the message again.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({MessageGroup? messageGroup, MessageDispatchCallback? onDispatch}) → FailedMessageEntry
Returns a copy with the given fields replaced.
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.
inherited