getAppManifest method

Future<GetAppManifestResult> getAppManifest({
  1. String? manifestId,
})

Gets the processed manifest for this current document. This API always waits for the manifest to be loaded. If manifestId is provided, and it does not match the manifest of the current document, this API errors out. If there is not a loaded page, this API errors out immediately.

Implementation

Future<GetAppManifestResult> getAppManifest({String? manifestId}) async {
  var result = await _client.send('Page.getAppManifest', {
    if (manifestId != null) 'manifestId': manifestId,
  });
  return GetAppManifestResult.fromJson(result);
}