ScreenResult class

Constructors

ScreenResult({String? draftReply, String? error, String? model, int? score, int? screenedAt, String? status, int? suggestedCredits, String? summary, String? tier1Backed})
Returns a new ScreenResult instance.

Properties

draftReply ↔ String?
DraftReply is a suggested email reply for staff to edit and send.
getter/setter pair
error ↔ String?
Error says why a failed screen failed — no AI gateway configured, a gateway error, or a reply that carried no parseable JSON. Absent on success.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
model ↔ String?
Model is the LLM the screen ran on.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score ↔ int?
Score is the model's 0..100 fit score, clamped to that range.
getter/setter pair
screenedAt ↔ int?
ScreenedAt is the unix second the screen finished (0 while pending).
getter/setter pair
status ↔ String?
Status is the screen's state: pending | done | failed.
getter/setter pair
suggestedCredits ↔ int?
SuggestedCredits is the recommended credit grant in USD, snapped to the nearest allowed rung: 0 | 5000 | 25000 | 50000 | 150000.
getter/setter pair
summary ↔ String?
Summary is the model's short assessment of the application.
getter/setter pair
tier1Backed ↔ String?
Tier1Backed is the model's read on tier-1 backing, normalized to "yes", "no" or "unclear" (anything it cannot resolve reads "unclear").
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → ScreenResult?
Returns a new ScreenResult instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ScreenResult>
mapFromJson(dynamic json) → Map<String, ScreenResult>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ScreenResult>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.