setLocation method

Future<void> setLocation(
  1. Location location
)

Set location.

For example:

await driver.device.setLocation(Location(100.0, 30.0, 0.0));

Implementation

Future<void> setLocation(Location location) => _client.send(
    _handler.device.buildSetLocationRequest(location),
    _handler.device.parseSetLocationResponse);