emit method

dynamic emit(
  1. BaseEvent event
)

Implementation

emit(BaseEvent event) {
  (BlocProvider.of<T>(baseContext)).add(event);
}