APIKeyWithAuthorizations constructor

APIKeyWithAuthorizations({
  1. APIKey? apiKey,
  2. Iterable<AuthorizationDetails>? authorizations,
})

Implementation

factory APIKeyWithAuthorizations({
  APIKey? apiKey,
  $core.Iterable<AuthorizationDetails>? authorizations,
}) {
  final $result = create();
  if (apiKey != null) {
    $result.apiKey = apiKey;
  }
  if (authorizations != null) {
    $result.authorizations.addAll(authorizations);
  }
  return $result;
}