DownloadInfo.formMap constructor
DownloadInfo.formMap(
- dynamic map
Implementation
factory DownloadInfo.formMap(dynamic map) => DownloadInfo(
maxLength: map['max_length'],
currentLength: map['current_length'],
path: map['path'],
planTime: map['plan_time'],
percent: map['percent'],
id: map['id'],
status: DownloadStatus._internal(map['status']),
speed: map['speed'],
);