IdentifiedLanguage class
An identified language for the given input text.
Constructors
- IdentifiedLanguage({required String languageTag, required double confidence})
- Constructor to create an instance of IdentifiedLanguage.
- IdentifiedLanguage.fromJson(Map json)
-
Returns an instance of IdentifiedLanguage from a given
json
.factory
Properties
- confidence → double
-
The confidence score of the language.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageTag → String
-
The BCP 47 language tag for the language.
More information: https://tools.ietf.org/rfc/bcp/bcp47.txt
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited