OpenRouterCurrentApiKey class
Constructors
- OpenRouterCurrentApiKey({double? byokUsage, double? byokUsageDaily, double? byokUsageWeekly, double? byokUsageMonthly, String? creatorUserId, bool? includeByokInLimit, bool? isFreeTier, bool? isManagementKey, bool? isProvisioningKey, String? label, double? limit, double? limitRemaining, OpenRouterApiKeyLimitReset? limitReset, double? usage, double? usageDaily, double? usageWeekly, double? usageMonthly, OpenRouterCurrentApiKeyRateLimit? rateLimit, DateTime? expiresAt})
-
const
- OpenRouterCurrentApiKey.fromJson(String json)
-
factory
-
OpenRouterCurrentApiKey.fromMap(Map<
String, dynamic> map) -
factory
Properties
- byokUsage → double?
-
final
- byokUsageDaily → double?
-
final
- byokUsageMonthly → double?
-
final
- byokUsageWeekly → double?
-
final
- creatorUserId → String?
-
final
- expiresAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeByokInLimit → bool?
-
final
- isFreeTier → bool?
-
final
- isManagementKey → bool?
-
final
- isProvisioningKey → bool?
-
final
- label → String?
-
final
- limit → double?
-
final
- limitRemaining → double?
-
final
- limitReset → OpenRouterApiKeyLimitReset?
-
final
- rateLimit → OpenRouterCurrentApiKeyRateLimit?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usage → double?
-
final
- usageDaily → double?
-
final
- usageMonthly → double?
-
final
- usageWeekly → double?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited