refreshWith method
Updates the token with a new value and notifies listeners about the change.
Implementation
void refreshWith(String token) {
this.token = token;
notifyListeners();
}
Updates the token with a new value and notifies listeners about the change.
void refreshWith(String token) {
this.token = token;
notifyListeners();
}