setAuthToken method

  1. @override
void setAuthToken(
  1. Jwt jwt
)
override

Implementation

@override
void setAuthToken(Jwt jwt) {
  client.options.headers = {
    'Authorization': 'Bearer ${jwt.token}'
  };
}