UDownloadSegment.fromJson constructor

UDownloadSegment.fromJson(
  1. List json
)

Reads it from JSON.

Implementation

factory UDownloadSegment.fromJson(List<dynamic> json) => UDownloadSegment(json[0] as int, json[1] as int, json[2] as int);