SendResult class

Result of a send operation

Constructors

SendResult({required bool success, bool deliveredDirectly = false, PeerId? storedAtServer, String? messageId, Duration? estimatedDeliveryTime, String? errorMessage})
const
SendResult.failure(String errorMessage)
factory
SendResult.success({required bool deliveredDirectly, PeerId? storedAtServer, required String messageId, Duration? estimatedDeliveryTime})
factory

Properties

deliveredDirectly → bool
final
errorMessage → String?
final
estimatedDeliveryTime → Duration?
final
hashCode → int
The hash code for this object.
no setterinherited
messageId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storedAtServer → PeerId?
final
success → bool
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.
inherited