SmsThread class

A SMS thread

Constructors

SmsThread(int? id)
SmsThread.fromMessages(List<SmsMessage>? messages)
Create a thread from a list of message, the id will be taken from the first message

Properties

address → String?
Get address
no setter
contact ↔ Contact?
Get contact info
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → int?
Get thread id
no setter
messages ↔ List<SmsMessage>
Get messages from thread
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
threadId → int?
Get thread id (for compatibility)
no setter

Methods

addMessage(SmsMessage msg) → void
Add a message at the end
addNewMessage(SmsMessage msg) → void
Add a message at the start
findContact() → Future
Set contact through contact query
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