ImageMessage class

Image message

Inheritance

Constructors

ImageMessage({MessageType type = MessageType.image, required ChatUser author, required int createdAt, required String uri, DeliveryStatus? status, String? messageID, String? text, Map<String, dynamic>? meta, Message? repliedTo})
Create

Properties

author ↔ ChatUser
Message sender
getter/setter pairinherited
createdAt ↔ int
Timestamp
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
key ↔ GlobalKey<State<StatefulWidget>>?
Do not set this. Chatflow automatically sets it.
getter/setter pairinherited
messageID ↔ String?
Message ID
getter/setter pairinherited
meta ↔ Map<String, dynamic>?
Store other details you need here.
getter/setter pairinherited
repliedTo ↔ Message?
Optional The Message that this message is replied
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ DeliveryStatus?
Delivery status could be any of the follow sending, sent, delivered, read
getter/setter pairinherited
text ↔ String?
Optional text
getter/setter pair
type ↔ MessageType
Internal Message type. Must be one of the types in types file
getter/setter pairinherited
uri ↔ String
uri/url or local file path
getter/setter pair

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