addMessage method
Add a message at the end
Implementation
void addMessage(SmsMessage msg) {
if (msg.threadId == _id) {
_messages.add(msg);
if (this._address == null) {
this._address = msg.address;
}
}
}
Add a message at the end
void addMessage(SmsMessage msg) {
if (msg.threadId == _id) {
_messages.add(msg);
if (this._address == null) {
this._address = msg.address;
}
}
}