WritePermissionDescriptor class

The permission descriptor for the allow-write and deny-write permissions, which controls access to writing to resources from the local host. The option path allow scoping the permission to a specific path (and if the path is a directory any sub paths).

Permission granted under allow-write only allows runtime code to attempt to write, the underlying operating system may apply additional permissions.

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

Constructors

WritePermissionDescriptor({String? name, Object? path})
factory

Properties

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

Available on WritePermissionDescriptor, provided by the WritePermissionDescriptor$Typings extension

getter/setter pair
path Object?

Available on WritePermissionDescriptor, provided by the WritePermissionDescriptor$Typings extension

An allow-write or deny-write 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