getBloc static method

AccessBloc getBloc(
  1. BuildContext context
)

Implementation

static AccessBloc getBloc(BuildContext context) {
  return BlocProvider.of<AccessBloc>(context);
}