setBearerToken method

void setBearerToken(
  1. String? token
)

Replace the bearer token without rebuilding the client.

Implementation

void setBearerToken(String? token) =>
    _transport.config = _transport.config.copyWith(bearerToken: token);