isLocked method

Future<bool> isLocked()

Get the device lock status.

Returns true if the device under test was locked.

For example:

await driver.device.isLocked();

Implementation

Future<bool> isLocked() => _client.send(
    _handler.device.buildDeviceIsLockedRequest(),
    _handler.device.parseDeviceIsLockedResponse);