isAvailable property

bool get isAvailable

The availability gate. A field read — see the library doc for why that matters.

Implementation

bool get isAvailable => _active != null;