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