sendMessage abstract method

Future<GenerateContentResponse> sendMessage(
  1. Content prompt
)

Generates a response from the backend with the provided Content, and any previous ones sent/returned from this chat.

@param prompt A Content to send to the model.

Implementation

Future<GenerateContentResponse> sendMessage(Content prompt);