token property

  1. @override
set token (AccessTokenSecret? token)
override

Sets an authorization token of this repository.

Implementation

@override
set token(AccessTokenSecret? token) {
  Log.debug('set token($token)', '$runtimeType');

  _graphQlProvider.token = token;
  if (token == null) {
    _graphQlProvider.disconnect();
  } else {
    _graphQlProvider.reconnect();
  }
}