I have a static void method that always returns a null check error , The same line of code works fine with other methods/ functions. I have no clue why this is happening.
For makeDriverOnlineNow() there is no error but for getLocationLiveUpdates() there is a null check error used on a null value at currentFirebaseUser!.uid
I have a
static void
method that always returns anull check error
, The same line of code works fine with other methods/ functions. I have no clue why this is happening.The configMaps.dart (global declaration)
Next on main.dart
HomeTabPages
The two methods here
makeDriverOnlineNow()
andgetLocationLiveUpdates()
both implementFor
makeDriverOnlineNow()
there is no error but forgetLocationLiveUpdates()
there is a null check error used on a null value atcurrentFirebaseUser!.uid