updateScript method

Future<Script> updateScript(
  1. String scriptId,
  2. ScriptUpdateRequest updateRequest
)

Update a script.

Parameters:

  • String scriptId: The ID of the script to update. (required)
  • ScriptUpdateRequest updateRequest: Script updates to apply. (required)

Implementation

Future<Script> updateScript(
    String scriptId, ScriptUpdateRequest updateRequest) async {
  return service.patchScriptsID(scriptId, updateRequest);
}