DetectionResult constructor

const DetectionResult({
  1. required String text,
  2. required String language,
  3. required num score,
  4. required bool translationSupported,
  5. required bool transliterationSupported,
  6. List<DetectionResult>? alternatives,
})

Implementation

const DetectionResult({
  required this.text,
  required super.language,
  required super.score,
  required super.translationSupported,
  required super.transliterationSupported,
  this.alternatives,
});