ThreadTaskModel constructor

ThreadTaskModel({
  1. required String taskId,
  2. required Completer<Uint8List?> bytes$,
  3. required String threadId,
})

Constructor for creating a ThreadTaskModel instance.

Implementation

ThreadTaskModel({
  /// Unique identifier for the task.
  required this.taskId,

  /// Completer to handle asynchronous data processing.
  required this.bytes$,

  /// Identifier for the thread handling this task.
  required this.threadId,
});