CustomMessageKind class final
Custom message kind for user-defined content
- Inheritance
-
- Object
- MessageKind
- CustomMessageKind
Constructors
- CustomMessageKind(dynamic _custom)
-
const
Properties
-
carouselItems
→ List<
CarouselItem> -
Carousel items (empty list if not CarouselMessageKind)
no setterinherited
- custom → dynamic
-
Custom data (only available for CustomMessageKind)
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- htmlData → String?
-
HTML data (only available for HtmlMessageKind)
no setterinherited
-
imageProvider
→ ImageProvider<
Object> ? -
Image provider (only available for ImageMessageKind)
no setterinherited
-
quickReplies
→ List<
QuickReplyItem> -
Quick replies (empty list if not QuickReplyMessageKind)
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Text content (only available for TextMessageKind)
no setterinherited
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.
override