openApp method

Future<void> openApp({
  1. String? appId,
})

Opens the app specified by appId. If appId is null, then the app under test is started (using resolvedAppId).

On Android appId is the package name. On iOS appId is the bundle name.

Implementation

Future<void> openApp({String? appId}) async {
  await _wrapRequest(
    'openApp',
    () => _client.openApp(OpenAppRequest(appId: appId ?? resolvedAppId)),
  );
}