DetectedLanguage class

A detected language result that will be returned in cases where translate is called without explicitly specifying the base language.

Constructors

DetectedLanguage({required String language, required num score})
const
DetectedLanguage.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
language String
The code of the detected language.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score num
A confidence score between 0 and 1.
final

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