isEmpty property

bool get isEmpty

Neither a period nor "now" is needed.

Implementation

bool get isEmpty => period == null && !now;