Description
The following NoSuchMethodError was thrown building NoteList(dirty, state: _NoteListState#e3e90):
The method 'initializeDatabase' was called on null.
Receiver: null
Tried calling: initializeDatabase()
The relevant error-causing widget was:
NoteList file:///E:/FlutterWorkspace/flutterfundoo/lib/services/authservice.dart:15:20
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1 _NoteListState.updateListView (package:flutterfundoo/activated/note_list.dart:185:54)
#2 _NoteListState.build (package:flutterfundoo/activated/note_list.dart:23:7)
#3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4612:27)
#4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4495:15)