Task constructor

Task({
  1. required String taskId,
  2. required TaskStatus status,
  3. String? statusMessage,
  4. required String createdAt,
  5. required String lastUpdatedAt,
  6. int? ttl,
  7. int? pollInterval,
})

Implementation

Task({
  required this.taskId,
  required this.status,
  this.statusMessage,
  required this.createdAt,
  required this.lastUpdatedAt,
  this.ttl,
  this.pollInterval,
});