Dispatcher class abstract
Dispatcher is the interface for dart-casbin dispatcher
Constructors
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
-
addPolicies(
String sec, String ptype, List< List< rules) → voidString> > - AddPolicies adds policies rule to all instance.
-
clearPolicy(
) → void - ClearPolicy clears all current policy in all instances
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFilteredPolicy(
String sec, String ptype, int fieldIndex, List< String> fieldValues) → void - RemoveFilteredPolicy removes policy rules that match the filter from all instance.
-
removePolicies(
String sec, String ptype, List< List< rules) → voidString> > - RemovePolicies removes policies rule from all instance.
-
toString(
) → String -
A string representation of this object.
inherited
-
updatePolicy(
String sec, String ptype, List< String> oldRule, List<String> newRule) → void - UpdatePolicy updates policy rule from all instance.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited