@override Map<String, dynamic> toJson() => { 'type': type, 'audio': audioB64, if (transcript != null) 'transcript': transcript, };