update method

Future<void> update({
  1. String? title,
  2. AiAssistantContext? context,
})

Updates an existing context entry on the assistant profile. This will result in an error if an entry has not yet been created for the current context id.

Implementation

Future<void> update({String? title, AiAssistantContext? context}) =>
    _client.mutate(AiAssistantMutateRequest.contextUpdate(
        profileId: _profileId,
        integrationId: _integrationId,
        id: _id,
        title: title,
        context: context));