Map<String, dynamic> toJson() { return <String, dynamic>{ 'useDefaultSound': useDefaultSound, 'interruptionLevel': interruptionLevel.index, }; }