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