Assessment class

One POST /v1/assess result. data is the full JSON body, untouched.

Constructors

Assessment(Map<String, dynamic> data, int status, Map<String, String> headers)

Properties

assessable → bool
False when the audio could not be meaningfully scored. Never show that as a zero; see reason.
no setter
billing → Map<String, dynamic>
{"credits": charged, "balance_credits": remaining}; failed or unassessable requests charge 0.
no setter
data → Map<String, dynamic>
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
final
id → String?
Result id (req_…).
no setter
modelVersion → String?
no setter
overall → num?
no setter
reason → String?
no setter
replayed → bool
The result was served from a previous identical request (no new charge).
final
requestId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scores → Map<String, num?>
0–100 display grades per dimension; null means the pack does not support that dimension.
no setter
status → int
final
words → List<Map<String, dynamic>>
Per word/character: score, start_ms, end_ms, phones (expected, heard, score, decision).
no setter

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