isFlagged property

bool get isFlagged

True if the message is flagged by the moderation system.

Implementation

bool get isFlagged => moderation?.action == ModerationAction.flag;