MessageType enum

Defines the various message types in ChatView.

  • image: An image message.
  • text: A text message.
  • voice: A voice message (Android & iOS only).
  • custom: A custom message type.
Inheritance
Available extensions

Values

image → const MessageType
text → const MessageType
voice → const MessageType

Only supported on android and ios

custom → const MessageType

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isCustom → bool
no setter
isCustom → bool

Available on MessageType, provided by the MessageTypes extension

no setter
isImage → bool
no setter
isImage → bool

Available on MessageType, provided by the MessageTypes extension

no setter
isText → bool
no setter
isText → bool

Available on MessageType, provided by the MessageTypes extension

no setter
isVoice → bool
no setter
isVoice → bool

Available on MessageType, provided by the MessageTypes extension

no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
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.
inherited

Operators

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

Static Methods

tryParse(String? value) → MessageType?

Constants

values → const List<MessageType>
A constant List of the values in this enum, in order of their declaration.