isIdle property

bool get isIdle

Checks if the state is idle.

Implementation

bool get isIdle => this == PiButtonState.IDLE;