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