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