ChatSessionRateLimits class
Rate limits for a ChatKit session.
- Annotations
-
- @immutable
Constructors
- ChatSessionRateLimits({required int maxRequestsPer1Minute})
-
Creates a ChatSessionRateLimits.
const
-
ChatSessionRateLimits.fromJson(Map<
String, dynamic> json) -
Creates a ChatSessionRateLimits from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRequestsPer1Minute → int
-
Maximum allowed requests per one-minute window.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited