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