ApiKey constructor

const ApiKey({
  1. required List<Acl> acl,
  2. String? description,
  3. List<String>? indexes,
  4. int? maxHitsPerQuery,
  5. int? maxQueriesPerIPPerHour,
  6. String? queryParameters,
  7. List<String>? referers,
  8. int? validity,
})

Returns a new ApiKey instance.

Implementation

const ApiKey({
  required this.acl,
  this.description,
  this.indexes,
  this.maxHitsPerQuery,
  this.maxQueriesPerIPPerHour,
  this.queryParameters,
  this.referers,
  this.validity,
});