toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'jobId': this.jobId,
    'phase': this.phase.ordinal,
    'message': this.message,
    'completed': this.completed,
    'error': this.error,
    'errorStack': this.errorStack,
    'more': this.more,
    'percentComplete': this.percentComplete,
    'total': this.total,
  };
}