isSender property

bool get isSender

Whether this message is from the sender.

This is determined by the concrete type of the message instance.

Implementation

bool get isSender => this is SenderMessage;