Task constructor

Task({
  1. String name = '',
  2. AppEngineHttpRequest? appEngineHttpRequest,
  3. HttpRequest? httpRequest,
  4. Timestamp? scheduleTime,
  5. Timestamp? createTime,
  6. Duration? dispatchDeadline,
  7. int dispatchCount = 0,
  8. int responseCount = 0,
  9. Attempt? firstAttempt,
  10. Attempt? lastAttempt,
  11. Task_View view = Task_View.$default,
})

Implementation

Task({
  this.name = '',
  this.appEngineHttpRequest,
  this.httpRequest,
  this.scheduleTime,
  this.createTime,
  this.dispatchDeadline,
  this.dispatchCount = 0,
  this.responseCount = 0,
  this.firstAttempt,
  this.lastAttempt,
  this.view = Task_View.$default,
}) : super(fullyQualifiedName);