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