run abstract method

Future<Object?> run(
  1. Map<String, Object?> request
)

Runs one request and returns Google's result as JSON values.

A request has a method (boolean, choice, score, or one of them with Batch), the text or texts, the question named as in Google's JavaScript API and, for a batch, an optional sharedPrefix.

Implementation

Future<Object?> run(Map<String, Object?> request);