endSession method

void endSession()

End the managed singleton customer session. Call this when the current user logs out.

Implementation

void endSession() {
  notifyListeners();
  dispose();
  isDisposed = true;
  if (identical(_instance, this)) {
    _instance = null;
  }
}