description property

String get description

Human-readable description of the detection.

Implementation

String get description {
  final buffer = StringBuffer();
  buffer.write(
      'Spoof detected (${(confidence * 100).toStringAsFixed(0)}% confidence): ');
  buffer.write(factors.map((f) => f.description).join(', '));
  return buffer.toString();
}