getIdleDuration method
Milliseconds since the user's last keyboard or mouse input, computed per platform and returned as a single value. See ADR-0001.
Asynchronous because the public API is (ADR-0003), not because the read is: an FFI read is a plain synchronous call.
Implementation
Future<int> getIdleDuration() {
throw UnimplementedError('getIdleDuration() has not been implemented.');
}