DetectedLanguage.fromJson constructor
DetectedLanguage.fromJson(
- Map json_
Implementation
DetectedLanguage.fromJson(core.Map json_)
: this(
confidence: json_.containsKey('confidence')
? (json_['confidence'] as core.num).toDouble()
: null,
languageCode: json_.containsKey('languageCode')
? json_['languageCode'] as core.String
: null,
);