CheckGroundingTransport typedef

CheckGroundingTransport = Future<Map<String, Object?>> Function({required Uri endpoint, required Map<String, String> headers, required Map<String, Object?> requestBody, required Duration timeout})

Transport function for executing one Discovery Engine checkGrounding RPC.

Implementation

typedef CheckGroundingTransport =
    Future<Map<String, Object?>> Function({
      required Uri endpoint,
      required Map<String, Object?> requestBody,
      required Map<String, String> headers,
      required Duration timeout,
    });