core.Map<core.String, core.dynamic> toJson() => { if (filename != null) 'filename': filename!, if (packageId != null) 'packageId': packageId!, if (versionId != null) 'versionId': versionId!, };