getOsAppState method

Future<GetOsAppStateResult> getOsAppState(
  1. String manifestId
)

Returns the following OS state for the given manifest id. manifestId The id from the webapp's manifest file, commonly it's the url of the site installing the webapp. See https://web.dev/learn/pwa/web-app-manifest.

Implementation

Future<GetOsAppStateResult> getOsAppState(String manifestId) async {
  var result = await _client.send('PWA.getOsAppState', {
    'manifestId': manifestId,
  });
  return GetOsAppStateResult.fromJson(result);
}