ReadPermissionDescriptor class
The permission descriptor for the allow-read
and deny-read
permissions, which controls
access to reading resources from the local host. The option path
allows
scoping the permission to a specific path (and if the path is a directory
any sub paths).
Permission granted under allow-read
only allows runtime code to attempt
to read, the underlying operating system may apply additional permissions.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- ReadPermissionDescriptor({String? name, Object? path})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
Available on ReadPermissionDescriptor, provided by the ReadPermissionDescriptor$Typings extension
getter/setter pair - path ↔ Object?
-
Available on ReadPermissionDescriptor, provided by the ReadPermissionDescriptor$Typings extension
Anallow-read
ordeny-read
permission can be scoped to a specific path (and if the path is a directory, any sub paths).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