DetectedLanguage class

Detected language for a structural component.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

DetectedLanguage({required String languageCode, required double? confidence})
DetectedLanguage.fromJson(Map<String, dynamic> json)
factory

Properties

confidence double?
Confidence of detected language. Range [0, 1].
final
hashCode int
The hash code for this object.
no setterinherited
languageCode String
The BCP-47 language code, such as "en-US" or "sr-Latn".
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited