getPowerState method
Gets the current power state (see PowerState).
Implementation
Future<int> getPowerState() async {
return (await _get(CapturePropertyIds.powerStateDevice)) as int;
}
Gets the current power state (see PowerState).
Future<int> getPowerState() async {
return (await _get(CapturePropertyIds.powerStateDevice)) as int;
}