ReCapsUtils class

Constructors

ReCapsUtils()

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

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

Static Methods

addResourceToRecap({required Map<String, dynamic> recap, required String resource, required Map<String, dynamic> actions}) Map<String, dynamic>
assignAbilityToActions(String ability, List<String> actions, {Map limits = const {}}) Map<String, dynamic>
buildRecapStatement(String statement, String? recap) String
createEncodedRecap(String namespace, String ability, List<String> methods) String
createRecap(String namespace, String ability, List<String> methods, {Map limits = const {}}) Map<String, dynamic>
decodeRecap(String recap) Map<String, dynamic>
encodeRecap(Map<String, dynamic> recap) String
formatStatementFromRecap({String statement = '', Map<String, dynamic> recap = const {}}) String
getChainsFromRecap(String recap) List<String>
getDecodedRecapFromResources({List<String>? resources}) Map<String, dynamic>?
getMethodsFromRecap(String recap) List<String>
getReCapActions({required List<String> abilities}) List<String>
getRecapFromResources({List<String>? resources}) String?
getRecapResource({required Map<String, dynamic> recap, required String resource}) List<String>
isRecap(String resource) bool
isValidRecap(Map<String, dynamic> recap) bool
mergeEncodedRecaps(String recap1, String recap2) String
mergeRecaps(Map<String, dynamic> recap1, Map<String, dynamic> recap2) Map<String, dynamic>