GateCallback typedef
GateCallback =
FutureOr<Object?> Function(Authenticatable? user, List<Object?> args)
Ability callback: returns bool, AuthResponse or null (= no opinion
in before/after hooks, deny in abilities).
Implementation
typedef GateCallback = FutureOr<Object?> Function(
Authenticatable? user,
List<Object?> args,
);