setAuthentication method

void setAuthentication(
  1. String key,
  2. Authentication? auth
)

Implementation

void setAuthentication(String key, Authentication? auth) {
  if (auth == null) {
    _authentications.remove(key);
  } else {
    _authentications[key] = auth;
  }
}