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