updateVariable abstract method

  1. @PUT('/api/client/servers/{serverId}/startup/variable')
Future<FractalData<EggVariable>> updateVariable(
  1. @Body() KeyValue variable, {
  2. @Path() required String serverId,
  3. @CancelRequest() CancelToken? cancelToken,
  4. @SendProgress() @experimental ProgressCallback? onSendProgress,
  5. @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
})

Update the Server startup variable with the contents of variable

Implementation

@PUT('/api/client/servers/{serverId}/startup/variable')
Future<FractalData<EggVariable>> updateVariable(
  @Body() KeyValue variable, {
  @Path() required String serverId,
  @CancelRequest() CancelToken? cancelToken,
  @SendProgress() @experimental ProgressCallback? onSendProgress,
  @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
});