


# onRefresh method




    *[<Null safety>](https://dart.dev/null-safety)*




FutureOrResult&lt;Data?> onRefresh
(Result&lt;[Account](../../wyatt_authentication_bloc/Account-class.md), AppException> result)





<p>This callback is triggered when the account is refreshed.</p>
<p>For example: when the access token is refreshed.</p>



## Implementation

```dart
FutureOrResult<Data?> onRefresh(Result<Account, AppException> result);
```







