isLeave property

bool get isLeave

Check is user leave.

Implementation

bool get isLeave => update.type == UpdateType.group_leave;