isWin property

bool isWin

Implementation

bool get isWin => this == EndType.win;