CreateKeyRequest constructor

CreateKeyRequest({
  1. Iterable<Authorization>? authorizations,
  2. String? name,
})

Implementation

factory CreateKeyRequest({
  $core.Iterable<Authorization>? authorizations,
  $core.String? name,
}) {
  final $result = create();
  if (authorizations != null) {
    $result.authorizations.addAll(authorizations);
  }
  if (name != null) {
    $result.name = name;
  }
  return $result;
}