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.new()
- @staticInterop
- @anonymous
Constructors
Properties
- env ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if theenvpermission should be requested or revoked. If set to"inherit", the currentenvpermission will be inherited. If set totrue, the globalenvpermission will be requested. If set tofalse, the globalenvpermission will be revoked.getter/setter pair - ffi ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if theffipermission should be requested or revoked. If set to"inherit", the currentffipermission will be inherited. If set totrue, the globalffipermission will be requested. If set tofalse, the globalffipermission 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 thehrtimepermission should be requested or revoked. If set to"inherit", the currenthrtimepermission will be inherited. If set totrue, the globalhrtimepermission will be requested. If set tofalse, the globalhrtimepermission will be revoked.getter/setter pair - net ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if thenetpermission should be requested or revoked. if set to"inherit", the currentnetpermission will be inherited. if set totrue, the globalnetpermission will be requested. if set tofalse, the globalnetpermission will be revoked. if set tostring[], thenetpermission 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 thereadpermission should be requested or revoked. If set to"inherit", the currentreadpermission will be inherited. If set totrue, the globalreadpermission will be requested. If set tofalse, the globalreadpermission will be revoked. If set toArray<string | URL>, thereadpermission will be requested with the specified file paths.getter/setter pair - run ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if therunpermission should be requested or revoked. If set to"inherit", the currentrunpermission will be inherited. If set totrue, the globalrunpermission will be requested. If set tofalse, the globalrunpermission 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 thesyspermission should be requested or revoked. If set to"inherit", the currentsyspermission will be inherited. If set totrue, the globalsyspermission will be requested. If set tofalse, the globalsyspermission will be revoked.getter/setter pair - write ↔ Object?
-
Available on PermissionOptionsObject, provided by the PermissionOptionsObject$Typings extension
Specifies if thewritepermission should be requested or revoked. If set to"inherit", the currentwritepermission will be inherited. If set totrue, the globalwritepermission will be requested. If set tofalse, the globalwritepermission will be revoked. If set toArray<string | URL>, thewritepermission 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