Map<String, dynamic> toMap() { return <String, dynamic>{ 'modality': ?modality, 'theme': ?theme, 'webWidgetTitle': ?webWidgetTitle, }; }