AiRecentCall class final

One call’s metadata. Never its prompt or answer.

Constructors

AiRecentCall({required String at, required String feature, required String label, required AiTier tier, required String model, required AiSurface environment, required AiCallOutcome outcome, required int latencyMs, required double costUsd})
const
AiRecentCall.fromJson(Map<String, Object?> json)
factory

Properties

at → String
RFC 3339 UTC timestamp with six fractional digits, e.g. 2026-08-17T09:30:00.000000Z
final
costUsd → double
final
environment → AiSurface
final
feature → String
One stable id per call site in the app, e.g. scanTheFridge.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
final
latencyMs → int
final
model → String
The label of the model that answered, or the tier’s model where none did.
final
outcome → AiCallOutcome
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tier → AiTier
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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