destroy method
Destroys the data and marks the instance as uninitialized.
Implementation
@override
void destroy() {
super.destroy();
_data = const InvalidObject();
userId = "";
notifyListeners();
}
Destroys the data and marks the instance as uninitialized.
@override
void destroy() {
super.destroy();
_data = const InvalidObject();
userId = "";
notifyListeners();
}