isBloc function
Checks if the given type extends Bloc (including Cubit, which extends Bloc).
Implementation
bool isBloc(InterfaceType? type) => _extendsAny(type, {'Bloc', 'Cubit'});
Checks if the given type extends Bloc (including Cubit, which extends Bloc).
bool isBloc(InterfaceType? type) => _extendsAny(type, {'Bloc', 'Cubit'});