status property
MessageStatus
get
status
The status of the Message.
Implementation
MessageStatus get status {
var value = _status;
if (value == MessageStatus.sent) {
if (readTimestamp != null) {
value = MessageStatus.read;
} else if (deliveredTimestamp != null) {
value = MessageStatus.delivered;
}
}
return value;
}