core.Map<core.String, core.dynamic> toJson() => { if (transcriptIndex != null) 'transcriptIndex': transcriptIndex!, if (wordIndex != null) 'wordIndex': wordIndex!, };