UserBloc constructor

UserBloc(
  1. UserState initialState, {
  2. required RemoteRepository<UserModel, UserSearchModel> userRemoteRepository,
})

Implementation

UserBloc(
  super.initialState, {
  required this.userRemoteRepository,
}) {
  on(_handleSearchUser);
  on(_handleUpdateUser);
}