confidence property
double
get
confidence
The confidence that the recognizedWords are correct.
Confidence is expressed as a value between 0 and 1. -1 means that the confidence value was not available.
Implementation
double get confidence =>
alternates.isNotEmpty ? alternates.first.confidence : 0;