cancel method

  1. @override
Future<void> cancel(
  1. String taskId
)
override

Cancels an active rendering task identified by taskId.

Implementations should gracefully handle unknown task IDs by surfacing a controlled error instead of crashing the app.

Implementation

@override
Future<void> cancel(String taskId) {
  throw UnimplementedError('cancel() has not been implemented.');
}