CustomGateHandler typedef
CustomGateHandler =
bool Function(ProviderContext context)
Custom gate handler: receives a ProviderContext and decides the gate.
Implementation
typedef CustomGateHandler = bool Function(ProviderContext context);