ModelCapRecord class final

One learned record: the cap limit when parsed, or a cap-unknown flag (the model refused but the error carried no number — edge E1).

Constructors

ModelCapRecord({int? maxMessages, bool capUnknown = false})
const
ModelCapRecord.fromJson(Map<String, dynamic> json)
factory

Properties

capUnknown → bool
Whether the model is flagged cap-unknown (refusal without a number).
final
hashCode → int
The hash code for this object.
no setterinherited
maxMessages → int?
The learned per-request message cap; null when unparseable.
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>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited