isCubit function

bool isCubit(
  1. InterfaceType? type
)

Checks if the given type extends Cubit specifically.

Implementation

bool isCubit(InterfaceType? type) => _extendsAny(type, {'Cubit'});