isDialog property

bool get isDialog

Indicates whether the chat this ChatController is about is a dialog.

Implementation

bool get isDialog => chat?.chat.value.isDialog == true;