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