idleTime property
Idle time.
Implementation
Duration get idleTime => (_workload > 0 || _idle == null)
? Duration.zero
: Duration(microseconds: DateTime.now().microsecondsSinceEpoch - _idle!);
Idle time.
Duration get idleTime => (_workload > 0 || _idle == null)
? Duration.zero
: Duration(microseconds: DateTime.now().microsecondsSinceEpoch - _idle!);