IoPolicyPort class abstract

Port for managing and querying I/O policy rules.

Implementers

Constructors

IoPolicyPort()

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

addRule(PolicyRule rule) → Future<void>
Add a new policy rule.
listRules({String? deviceIdFilter, String? actionFilter}) → Future<List<PolicyRule>>
List policy rules, optionally filtered by device ID or action.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRule(String ruleId) → Future<void>
Remove a policy rule by its ID.
toString() → String
A string representation of this object.
inherited
updateRule(PolicyRule rule) → Future<void>
Update an existing policy rule (matched by rule.id).

Operators

operator ==(Object other) → bool
The equality operator.
inherited