OpenRouterCurrentApiKeyRateLimit.fromMap constructor

OpenRouterCurrentApiKeyRateLimit.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory OpenRouterCurrentApiKeyRateLimit.fromMap(Map<String, dynamic> map) =>
    OpenRouterCurrentApiKeyRateLimit(
      interval: _asString(map['interval']),
      note: _asString(map['note']),
      requests: _asInt(map['requests']),
    );