VamboIdentifyResponse class final
A class representing the response from the Vambo AI identify API.
Constructors
-
VamboIdentifyResponse({required Lang primary, required List<
Lang> additional}) -
Constructs a VamboIdentifyResponse with the given
primarylanguage andadditionallanguages.const -
VamboIdentifyResponse.fromJson(Map<
String, dynamic> json) -
Creates a VamboIdentifyResponse instance from a JSON map.
factory
Properties
-
additional
→ List<
Lang> -
A list of additional languages identified.
final
- hashCode → int
-
Computes the hash code for the VamboIdentifyResponse.
no setteroverride
- primary → Lang
-
The primary language identified.
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> - Converts the VamboIdentifyResponse instance to a JSON map.
-
toString(
) → String -
Returns a string representation of the VamboIdentifyResponse.
override
Operators
-
operator ==(
Object other) → bool -
Compares this VamboIdentifyResponse with another for equality.
override