toJson method
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> data = {};
data['h5Path'] = h5Path;
data['zipUrl'] = LocalServerConfiguration.downloadUrl(zipUrl);
data['downloadCount'] = downloadCount;
data['loadState'] = loadState.index;
data['filePath'] = filePath;
data['isCompress'] = isCompress;
data['version'] = version;
return data;
}