toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (downloadId != null) 'downloadId': downloadId!,
if (moduleName != null) 'moduleName': moduleName!,
if (sliceId != null) 'sliceId': sliceId!,
if (version != null) 'version': version!,
};