toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (pageObjectId != null) 'pageObjectId': pageObjectId!,
if (relativeLink != null) 'relativeLink': relativeLink!,
if (slideIndex != null) 'slideIndex': slideIndex!,
if (url != null) 'url': url!,
};