ChatSendResult class

Per-result handle returned by ComposeSubmitCallback: the placeholder bubble's clientMessageId plus a closure that resolves the chat bubble's transition source for that cid. The closure resolves lazily against the chat's current widget tree, so it returns a live source on any frame after the placeholder has been built.

Constructors

ChatSendResult({required List<String> cids, required GallerySource? sourceForCid(String cid)})
Creates the handle.
const

Properties

cids → List<String>
Client message ids of the placeholder bubbles, one per result.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceForCid → GallerySource? Function(String cid)
Finds the bubble of a cid to fly the close transition to.
final

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