Dashboard Error - No products showing but error
Closed this issue · 3 comments
type 'Null' is not a subtype of type 'String' in type cast
No products are showing on the dashboard or when selecting View All products but only this error is on the dashboard.
This is the error I receive after logging into the application. Firebase is setup correctly also with screenshot to verify. Any help is appreciated.
This is dashboard error I am receiving: I changed it to a string instead of null but I am receiving the same error?
DashboardState(dealOfTheDay: ResultState<List>.loading(), onSale: ResultState<List>.error(error: type 'Null' is not a subtype of type 'String' in type cast), topProducts: ResultState<List>.loading())
Also here is Flutter error when loading the application concerning same issue:
flutter: type 'Null' is not a subtype of type 'ResultState<List>' in type cast
Hi,
This issue has been fixed