deleteTask static method

Future<int> deleteTask(
  1. String taskId
)

Deletes a material generation task using its ID. 0 indicates success, and other values indicate failure.

Implementation

static Future<int> deleteTask(String taskId) async {
  return await _c.invokeMethod(
    'deleteTask',
    <String, dynamic>{
      'taskId': taskId,
    },
  );
}