ApiKey constructor

ApiKey({
  1. String? id,
  2. String? createdAt,
  3. String? updatedAt,
  4. String? name,
  5. String? prefix,
  6. String? start,
  7. String? key,
  8. bool? enabled,
  9. String? expiresAt,
  10. String? userId,
  11. String? lastRefillAt,
  12. String? lastRequest,
  13. Map<String, dynamic>? metadata,
  14. int? rateLimitMax,
  15. int? rateLimitTimeWindow,
  16. int? remaining,
  17. int? refillAmount,
  18. int? refillInterval,
  19. bool? rateLimitEnabled,
  20. int? requestCount,
  21. Map<String, List<String>>? permissions,
})

Implementation

ApiKey({
  this.id,
  this.createdAt,
  this.updatedAt,
  this.name,
  this.prefix,
  this.start,
  this.key,
  this.enabled,
  this.expiresAt,
  this.userId,
  this.lastRefillAt,
  this.lastRequest,
  this.metadata,
  this.rateLimitMax,
  this.rateLimitTimeWindow,
  this.remaining,
  this.refillAmount,
  this.refillInterval,
  this.rateLimitEnabled,
  this.requestCount,
  this.permissions,
});