MessageType enum Null safety
The enumeration of message types.
Constructors
- MessageType()
-
const
Values
- TXT → const MessageType
-
The text message.
const MessageType(0) - IMAGE → const MessageType
-
The image message.
const MessageType(1) - VIDEO → const MessageType
-
The video message.
const MessageType(2) - LOCATION → const MessageType
-
The location message.
const MessageType(3) - VOICE → const MessageType
-
The voice message.
const MessageType(4) - FILE → const MessageType
-
The file message.
const MessageType(5) - CMD → const MessageType
-
The command message.
const MessageType(6) - CUSTOM → const MessageType
-
The custom message.
const MessageType(7)
Properties
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
Constants
-
values
→ const List<
MessageType> -
A constant List of the values in this enum, in order of their declaration.
[TXT, IMAGE, VIDEO, LOCATION, VOICE, FILE, CMD, CUSTOM]