UsageChainSegment class final
One segment's raw fold input: the requests in chain order plus the boundary timestamps derived from chain records.
Constructors
-
UsageChainSegment({required List<
FoldRequest> requests, String? model, DateTime? openedAt, DateTime? closedAt}) -
Creates a UsageChainSegment.
const
Properties
- closedAt → DateTime?
-
Last contributing record's chain timestamp.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String?
-
The segment's LAST-SEEN model id (gh-1460): the model that served the
final request — stamped into the
fa-tokens:segment-close line so the row is attributable (and priceable) downstream.nullwhen the segment never observed a model (legacy chains, zero-filled fallbacks only): the line then keeps its legacy shape.final - openedAt → DateTime?
-
First contributing record's chain timestamp (or the opening marker's).
final
-
requests
→ List<
FoldRequest> -
The segment's provider requests.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited