ProcessKillPermisssion class
A permission that allows access to kill a process by its PID.
- Implemented types
Constructors
- ProcessKillPermisssion([int? pid])
-
const
Properties
-
domains
→ List<
String> -
The domain specifies the type of resource, such as 'network' or
'filesystem'.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- pid → int?
-
The PID of the process to kill, or null to allow killing any process.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
match(
[Object? data]) → bool -
Returns true if the permission allows access to the specified resource.
If the permission is granular, the
data
parameter may be used to specify a specific resource (e.g. a URL for a network permission).override -
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.
override