pressBack method
Presses the back button.
This method throws on iOS, because there's no back button.
See also:
- developer.android.com/reference/androidx/test/uiautomator/UiDevice#pressback, which is used on Android.
Implementation
Future<void> pressBack() async {
await _wrapRequest('pressBack', _client.pressBack);
}