SmsMessage class

A SMS Message

Used to send message or used to read message.

Constructors

SmsMessage(String _address, String _body, {int id, int threadId, bool read, DateTime date, DateTime dateSent, SmsMessageKind kind})
SmsMessage.fromJson(Map data)
Read message from JSON [...]

Properties

address → String
Get address, alias phone number
read-only
body → String
Get message body
read-only
date ↔ DateTime
Get date
read / write
dateSent → DateTime
Get date sent
read-only
id → int
Get message id
read-only
isRead → bool
Check if message is read
read-only
kind SmsMessageKind
Get message kind
read / write
onStateChanged → Stream<SmsMessageState>
read-only
sender → String
Get sender, alias phone number
read-only
state ↔ dynamic
Get message state
read / write
threadId → int
Get thread id
read-only
toMap → Map
Convert SMS to map
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

compareTo(SmsMessage other) → int
Compares this object to another Comparable [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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