ApiKey class

Annotations
  • @JsonSerializable()

Constructors

ApiKey.new({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<String>>? permissions})
ApiKey.fromJson(Map<String, dynamic> json)
factory

Properties

createdAt String?
getter/setter pair
enabled bool?
getter/setter pair
expiresAt String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pair
key String?
getter/setter pair
lastRefillAt String?
getter/setter pair
lastRequest String?
getter/setter pair
metadata Map<String, dynamic>?
getter/setter pair
name String?
getter/setter pair
permissions Map<String, List<String>>?
getter/setter pair
prefix String?
getter/setter pair
rateLimitEnabled bool?
getter/setter pair
rateLimitMax int?
getter/setter pair
rateLimitTimeWindow int?
getter/setter pair
refillAmount int?
getter/setter pair
refillInterval int?
getter/setter pair
remaining int?
getter/setter pair
requestCount int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start String?
getter/setter pair
updatedAt String?
getter/setter pair
userId String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited