NetPermissionDescriptor class
The permission descriptor for the allow-net
and deny-net
permissions, which controls
access to opening network ports and connecting to remote hosts via the
network. The option host
allows scoping the permission for outbound
connection to a specific host and port.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- NetPermissionDescriptor({String? name, String? host})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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