PolicyCondition class

Condition that determines when a policy rule applies.

Constructors

PolicyCondition({String? action, String? targetPrefix, List<String>? actorRoleIn, SafetyClass? safetyClass, String? transport})
const
PolicyCondition.fromJson(Map<String, dynamic> json)
factory

Properties

action String?
Exact action name or prefix match with trailing *.
final
actorRoleIn List<String>?
Allowed actor roles (any match satisfies the condition).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyClass SafetyClass?
Required safety class of the device.
final
targetPrefix String?
URI prefix to match against the target device/resource.
final
transport String?
Transport type (e.g., 'mqtt', 'http', 'serial').
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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