switched constant
SwitchedFunctor
const switched
Static entrypoint to the switched functor for discoverability and namespace disambiguation.
final active = Bloom.switched((via) => via(isVip) ? vipFeed : publicFeed);
Implementation
static const switched = SwitchedFunctor._();