PermissionHandler.custom constructor
PermissionHandler.custom({
- required PermissionCheckerCallback callback,
- bool beforeNeed = false,
Implementation
PermissionHandler.custom(
{required PermissionCheckerCallback callback, this.beforeNeed = false}) {
checker = (_) {
return callback(_);
};
}