DetectLanguageCallbackResult constructor
DetectLanguageCallbackResult({
- required bool isReliable,
- required List<
DetectLanguageCallbackResultLanguages> languages,
Implementation
DetectLanguageCallbackResult({
/// CLD detected language reliability
required bool isReliable,
/// array of detectedLanguage
required List<DetectLanguageCallbackResultLanguages> languages,
}) : _wrapped = $js.DetectLanguageCallbackResult(
isReliable: isReliable,
languages: languages.toJSArray((e) => e.toJS),
);