File.fromJson constructor
File.fromJson(
- JsonMap rawData
Implementation
factory File.fromJson(JsonMap rawData) => File(
bytesCompleted: rawData["bytesCompleted"] as num,
length: rawData["length"] as num,
name: rawData["name"] as String,
beginPiece: rawData["beginPiece"] as num?,
endPiece: rawData["endPiece"] as num?,
);