@override Map<String, Object?> toJson() => { 'node': 'text', 'text': text, if (tone != Tone.neutral) 'tone': tone.name, };