AccessHelper class

Constructors

AccessHelper()

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

displayConditionOk(Map<String, bool> packagesConditions, DisplayConditionsModel conditions, PrivilegeLevel privilegedLevel, bool isOwner, bool? isBlocked, bool isLoggedIn) bool
extendAccesses(AccessBloc accessBloc, MemberModel? member, Map<String, PagesAndDialogAccesss> currentAccesses, AppModel addApp, bool isLoggedIn) Future<Map<String, PagesAndDialogAccesss>>
extendAccesses2(AccessBloc accessBloc, MemberModel? member, Map<String, PagesAndDialogAccesss> currentAccesses, AppModel addApp, bool isLoggedIn, PrivilegeLevel privilegeLevel, bool? isBlocked) Future<Map<String, PagesAndDialogAccesss>>
getAccesses(AccessBloc accessBloc, MemberModel? member, List<AppModel> apps, bool isLoggedIn) Future<Map<String, PagesAndDialogAccesss>>
getAccesses2(AccessBloc accessBloc, MemberModel? member, List<AppModel> apps, bool isLoggedIn) Future<Map<String, PagesAndDialogAccesss>>
getAccessForMember(MemberModel? member, String appId) Future<Tuple2<PrivilegeLevel, bool>>
getPrivilegeLevel(AppModel app, MemberModel member, bool isOwner) Future<PrivilegeLevel?>