SysPermissionDescriptor class

The permission descriptor for the allow-sys and deny-sys permissions, which controls access to sensitive host system information, which malicious code might attempt to exploit. The option kind allows scoping the permission to a specific piece of information.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

SysPermissionDescriptor({String? name, KindOptions? kind})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
kind KindOptions?

Available on SysPermissionDescriptor, provided by the SysPermissionDescriptor$Typings extension

The specific information to scope the permission to.
getter/setter pair
name String

Available on SysPermissionDescriptor, provided by the SysPermissionDescriptor$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited