isGlass property

bool get isGlass

Whether the bar has a glass surface and a selection droplet.

Implementation

bool get isGlass => this == frostedGlass || this == liquidGlass;