ApiKey constructor
ApiKey({
- String? id,
- String? createdAt,
- String? updatedAt,
- String? name,
- String? prefix,
- String? start,
- String? key,
- bool? enabled,
- String? expiresAt,
- String? userId,
- String? lastRefillAt,
- String? lastRequest,
- Map<
String, dynamic> ? metadata, - int? rateLimitMax,
- int? rateLimitTimeWindow,
- int? remaining,
- int? refillAmount,
- int? refillInterval,
- bool? rateLimitEnabled,
- int? requestCount,
- Map<
String, List< ? permissions,String> >
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,
});