setCredential method

  1. @override
void setCredential(
  1. DynCallCredential credential
)
override

Implementation

@override
void setCredential(DynCallCredential credential) {
  if (credential is DynCallCredentialHTTP) {
    var httpCredential = credential.credential;
    authorization = httpCredential;
    httpClient.authorization = Authorization.fromCredential(httpCredential);
  }
}