FileStat.fromJson constructor
FileStat.fromJson(
- JsonMap rawData
Implementation
factory FileStat.fromJson(JsonMap rawData) => FileStat(
bytesCompleted: rawData["bytesCompleted"] as num,
wanted: rawData["wanted"] as bool,
priority: rawData["priority"] as num,
);