TextTaskBackend class abstract interface

One of Google's text tasks, created and run by a platform backend.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
Waits for queued requests, then closes Google's task.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(String text, [Map<String, Object?> arguments = const {}]) → Future<Map<String, dynamic>>
Runs text with the request's arguments, named as in Google's JavaScript API (the embedder's formatContext), and returns Google's result as JSON values.
toString() → String
A string representation of this object.
inherited

Operators

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