confidencePercentage property
Gets the confidence as a percentage string.
Returns a formatted string representation of the confidence score as a percentage, or null if no confidence is available.
Implementation
String? get confidencePercentage => confidence != null
? '${(confidence! * 100).toStringAsFixed(1)}%'
: null;