PermissionHandler class
Constructors
-
PermissionHandler.custom({required PermissionCheckerCallback callback, bool beforeNeed = false})
-
-
PermissionHandler.generatedByType({PermissionCheckerCallback? read, PermissionCheckerCallback? update, PermissionCheckerCallback? delete, PermissionCheckerCallback? create, PermissionCheckerCallback? write, required bool defaultPermission, bool beforeNeed = false})
-
-
PermissionHandler.merge(List<PermissionHandler> handlers)
-
factory
-
PermissionHandler.static({bool? read, bool? update, bool? delete, bool? create, bool? write, required bool defaultPermission})
-
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited