Rule class

Represents a single access control rule.

Constructors

Rule({required List<String> actions, required List<String> subject})
Creates a new Rule instance.
const
Rule.fromMap(Map<String, dynamic> map)
Creates a Rule instance from a map.
factory

Properties

actions List<String>
The list of allowed actions.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject List<String>
The list of subjects to which the actions apply.
final

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.
override