factory FileTransBean.fromJson(Map<String, dynamic> json) => FileTransBean( progress: json["progress"] ?? -1, error: json["error"] ?? -1, type: json["type"], );