DetectLanguageRequest class
The request message for language detection.
Constructors
-
DetectLanguageRequest({String? content, Map<
String, String> ? labels, String? mimeType, String? model}) - DetectLanguageRequest.fromJson(Map json_)
Properties
- content ↔ String?
-
The content of the input stored as a string.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
The labels with user-defined metadata for the request.
getter/setter pair
- mimeType ↔ String?
-
The format of the source text, for example, "text/html", "text/plain".
getter/setter pair
- model ↔ String?
-
The language detection model to be used.
getter/setter pair
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited