MessageType class

Inheritance
  • Object
  • EnumClass
  • MessageType

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Returns the serialized value of this enum value.
no setter

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 Properties

serializer → Serializer<MessageType>
Serializer for MessageType.
no setter
values → BuiltSet<MessageType>
Returns a set with all values this enum contains.
no setter

Static Methods

valueOf(String name) MessageType
Returns the enum value associated to the name.

Constants

command → const MessageType
command
comment → const MessageType
comment
commentDeleted → const MessageType
comment_deleted
objectShared → const MessageType
object_shared
reaction → const MessageType
reaction
reactionDeleted → const MessageType
reaction_deleted
recordAudio → const MessageType
record-audio
recordVideo → const MessageType
record-video
system → const MessageType
system
voiceMessage → const MessageType
voice-message