UploadResult.from constructor
Implementation
UploadResult.from(Map<String, dynamic> map)
: errs = List<String>.from(map['errFiles'] ?? []),
success = ((map['succMap'] ?? {}) as Map<String, dynamic>)
.entries
.map((entry) => FileInfo(filename: entry.key, url: entry.value))
.toList();