PermissionOptionsObject class
A set of options which can define the permissions within a test or worker context at a highly specific level.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
Properties
- env ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if theenv
permission should be requested or revoked. If set to"inherit"
, the currentenv
permission will be inherited. If set totrue
, the globalenv
permission will be requested. If set tofalse
, the globalenv
permission will be revoked.getter/setter pair - ffi ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if theffi
permission should be requested or revoked. If set to"inherit"
, the currentffi
permission will be inherited. If set totrue
, the globalffi
permission will be requested. If set tofalse
, the globalffi
permission will be revoked.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- hrtime ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if thehrtime
permission should be requested or revoked. If set to"inherit"
, the currenthrtime
permission will be inherited. If set totrue
, the globalhrtime
permission will be requested. If set tofalse
, the globalhrtime
permission will be revoked.getter/setter pair - net ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if thenet
permission should be requested or revoked. if set to"inherit"
, the currentnet
permission will be inherited. if set totrue
, the globalnet
permission will be requested. if set tofalse
, the globalnet
permission will be revoked. if set tostring[]
, thenet
permission will be requested with the specified host strings with the format"<host>[:<port>]
.getter/setter pair - read ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if theread
permission should be requested or revoked. If set to"inherit"
, the currentread
permission will be inherited. If set totrue
, the globalread
permission will be requested. If set tofalse
, the globalread
permission will be revoked. If set toArray<string | URL>
, theread
permission will be requested with the specified file paths.getter/setter pair - run ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if therun
permission should be requested or revoked. If set to"inherit"
, the currentrun
permission will be inherited. If set totrue
, the globalrun
permission will be requested. If set tofalse
, the globalrun
permission will be revoked.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sys ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if thesys
permission should be requested or revoked. If set to"inherit"
, the currentsys
permission will be inherited. If set totrue
, the globalsys
permission will be requested. If set tofalse
, the globalsys
permission will be revoked.getter/setter pair - write ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if thewrite
permission should be requested or revoked. If set to"inherit"
, the currentwrite
permission will be inherited. If set totrue
, the globalwrite
permission will be requested. If set tofalse
, the globalwrite
permission will be revoked. If set toArray<string | URL>
, thewrite
permission will be requested with the specified file paths.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