EnvPermissionDescriptor class

The permission descriptor for the allow-env and deny-env permissions, which controls access to being able to read and write to the process environment variables as well as access other information about the environment. The option variable allows scoping the permission to a specific environment variable.

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

Constructors

EnvPermissionDescriptor({String? name, String? variable})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String

Available on EnvPermissionDescriptor, provided by the EnvPermissionDescriptor$Typings extension

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

Available on EnvPermissionDescriptor, provided by the EnvPermissionDescriptor$Typings extension

Optional environment variable name (e.g. PATH).
getter/setter pair

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