ApiKey constructor

ApiKey({
  1. required String key,
  2. required DateTime createdAt,
  3. DateTime? expiresAt,
})

API Key requires a key, creation date and expiration date

Implementation

ApiKey({required this.key, required this.createdAt, this.expiresAt});