isActive method

bool isActive(
  1. BlocState state
)

Implementation

bool isActive(BlocState state) => state is S;