dispose method
Clear the store, notify all active listeners and dispose the ChangeNotifier.
Implementation
@override
void dispose() {
_customerSession.removeListener(_customerSessionListener);
paymentMethods.clear();
notifyListeners();
if (identical(this, _instance)) {
_instance = null;
}
super.dispose();
}