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})

Properties

beforeNeed bool
final
checker PermissionCheckerCallback
latefinal
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