OpenRouterManagedApiKey constructor
const
OpenRouterManagedApiKey({
- required String hash,
- String? name,
- String? label,
- String? creatorUserId,
- DateTime? createdAt,
- DateTime? updatedAt,
- DateTime? expiresAt,
- double? limit,
- double? limitRemaining,
- OpenRouterApiKeyLimitReset? limitReset,
- bool? includeByokInLimit,
- double? usage,
- double? usageDaily,
- double? usageWeekly,
- double? usageMonthly,
- double? byokUsage,
- double? byokUsageDaily,
- double? byokUsageWeekly,
- double? byokUsageMonthly,
- 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,
});