LongTaskStatus constructor

LongTaskStatus({
  1. String? ari,
  2. required String id,
  3. required LongTaskStatusName name,
  4. required int elapsedTime,
  5. required int percentageComplete,
  6. required bool successful,
  7. required bool finished,
  8. required List<Message> messages,
  9. String? status,
  10. List<Message>? errors,
  11. LongTaskStatusAdditionalDetails? additionalDetails,
})

Implementation

LongTaskStatus(
    {this.ari,
    required this.id,
    required this.name,
    required this.elapsedTime,
    required this.percentageComplete,
    required this.successful,
    required this.finished,
    required this.messages,
    this.status,
    List<Message>? errors,
    this.additionalDetails})
    : errors = errors ?? [];