toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data["isFinish"] = isFinish;
data["isError"] = isError;
data["msgID"] = msgID;
data["currentSize"] = currentSize;
data["totalSize"] = totalSize;
data["type"] = type;
data["isSnapshot"] = isSnapshot;
data["path"] = path;
data["errorCode"] = errorCode;
data["errorDesc"] = errorDesc;
return data;
}