Map<String, dynamic> toMap() { return <String, dynamic>{ 'textPrompt': ?textPrompt, 'voicePrompt': ?voicePrompt, }; }