refresh method

  1. @override
Future<void> refresh()
override

Request a new access token from the Reddit API. Throws a DRAWAuthenticationError if the Authenticator is not yet initialized.

Implementation

@override
Future<void> refresh() async {
  _client = await _client.refreshCredentials();
}