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