OpenRouterManagedApiKey constructor

const OpenRouterManagedApiKey({
  1. required String hash,
  2. String? name,
  3. String? label,
  4. String? creatorUserId,
  5. DateTime? createdAt,
  6. DateTime? updatedAt,
  7. DateTime? expiresAt,
  8. double? limit,
  9. double? limitRemaining,
  10. OpenRouterApiKeyLimitReset? limitReset,
  11. bool? includeByokInLimit,
  12. double? usage,
  13. double? usageDaily,
  14. double? usageWeekly,
  15. double? usageMonthly,
  16. double? byokUsage,
  17. double? byokUsageDaily,
  18. double? byokUsageWeekly,
  19. double? byokUsageMonthly,
  20. bool disabled = false,
})

Implementation

const OpenRouterManagedApiKey({
  required this.hash,
  this.name,
  this.label,
  this.creatorUserId,
  this.createdAt,
  this.updatedAt,
  this.expiresAt,
  this.limit,
  this.limitRemaining,
  this.limitReset,
  this.includeByokInLimit,
  this.usage,
  this.usageDaily,
  this.usageWeekly,
  this.usageMonthly,
  this.byokUsage,
  this.byokUsageDaily,
  this.byokUsageWeekly,
  this.byokUsageMonthly,
  this.disabled = false,
});