python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
A value of type 'StreamSink<dynamic>' can't be returned from the function 'assessmentSink'
class AssessmentBloc {
late AssessmentRepository _genRepository;
late StreamController assessmentController;
late StreamController submitAssessmentController;
StreamSink<ApiResponse<...

FatahZull
Votes: 0
Answers: 1
I have a problem with Null Safety an the problem is 'Null check operator used on a null value'
It happened when getting some data from firebase and decoding them using model,
and here is the method:
UserModel? userModel;
void getUser() {
emit(GetUserLoadingsState());
FirebaseFirestore.instance...
Alaa Elsweedy
Votes: 0
Answers: 1