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