cancel method
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.');
}