getPermissionWarningsByManifest method
Returns a list of permission
warnings for the given extension
manifest string. Note: This function can be used without requesting the
'management' permission in the manifest.
manifestStr
Extension manifest JSON string.
Implementation
Future<List<String>> getPermissionWarningsByManifest(
String manifestStr) async {
var $res = await promiseToFuture<JSArray>(
$js.chrome.management.getPermissionWarningsByManifest(manifestStr));
return $res.toDart.cast<String>().map((e) => e).toList();
}