PiholeStatus.sleeping constructor
Pihole started sleeping at start
for the given duration
.
The API just shows as "disabled" while sleeping, so manage the sleeping state manually.
Implementation
const factory PiholeStatus.sleeping(Duration duration, DateTime start) =
PiholeStatusSleeping;