TextMessageEvent class

An UnconfirmedTextMessage sent to this device.

Inheritance

Constructors

TextMessageEvent({required int sourceDeviceId, required String message, bool urgent = false, int? classNumber, String? classText})
Creates a text message event.
const

Properties

classNumber → int?
Numeric message class, if the sender gave one.
final
classText → String?
Character message class, if the sender gave one.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
The text.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceDeviceId → int
Device that sent the message.
final
urgent → bool
True for an urgent message (otherwise normal priority).
final

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.
inherited