79487677

Date: 2025-03-05 21:01:31
Score: 0.5
Natty:
Report link

The answer ended up being simple, although I'm not sure how 'correct it is:

Text(userEmail != null ? userEmail! : 'No Session Info'),
...
Text(userId != null ? '${userId!.substring(0,16)}...' : 'No Session Info'),
...

Simply adding a null check on the two textfields resolved the issue; now when the user clicks Delete Everything, their account and all associated data is deleted, they are logged out globally, and the UI pops back to the login/new user view automagically.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andy