of<B extends BitControl> static method
Implementation
static B of<B extends BitControl>(BuildContext context) =>
maybeOf<B>(context) ??
(throw Exception("cannot find a TriBit of type $B in the context"));