blocked property

bool get blocked

Indicates whether this RxChat is blocked or not.

Implementation

bool get blocked =>
    chat.value.isDialog &&
    members.values
            .firstWhereOrNull((e) => e.user.id != me)
            ?.user
            .user
            .value
            .isBlocked !=
        null;