MessageKind class Null safety

Constructors

MessageKind.carousel(List<CarouselItem> carouselItems)
Represents carousel options on the screen.
MessageKind.custom(dynamic custom)
MessageKind.html(String? htmlData)
Represents html on the screen.
MessageKind.imageProvider(ImageProvider<Object>? imageProvider)
Represents image on the screen, you can pass either NetworkImage or AssetImage
MessageKind.quickReply(List<QuickReplyItem> quickReplies)
Represents quick reply options on the screen.
MessageKind.text(String? text)
Represents text on the screen.

Properties

carouselItems List<CarouselItem>
read / write
custom ↔ dynamic
read / write
hashCode int
The hash code for this object.
read-onlyinherited
htmlData String?
read / write
imageProvider ImageProvider<Object>?
read / write
quickReplies List<QuickReplyItem>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String?
read / write

Methods

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

Operators

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