Permissions constructor
Implementation
Permissions({
/// List of named permissions (does not include hosts or origins).
List<String>? permissions,
/// The list of host permissions, including those specified in the
/// `optional_permissions` or `permissions` keys in the manifest, and those
/// associated with [Content Scripts](content_scripts).
List<String>? origins,
}) : _wrapped = $js.Permissions(
permissions: permissions?.toJSArray((e) => e),
origins: origins?.toJSArray((e) => e),
);