Detected constructor

Detected(
  1. LanguageGuess best,
  2. List<LanguageGuess> ranked
)

Creates a result naming best as the detected language, alongside the full ranked list it was chosen from.

Implementation

Detected(this.best, this.ranked);