toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'downloadStatus': this.downloadStatus,
      'quanlity': this.quanlity,
      'duration': this.duration,
      'size': this.size,
      'downloadSize': this.downloadSize,
      'progress': this.progress,
      'playPath': this.playPath,
      'isStop': this.isStop,
      'url': this.url,
      'fileId': this.fileId,
      'error': this.error,
    };