toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customPronunciations != null)
        'customPronunciations': customPronunciations!,
      if (multiSpeakerMarkup != null)
        'multiSpeakerMarkup': multiSpeakerMarkup!,
      if (ssml != null) 'ssml': ssml!,
      if (text != null) 'text': text!,
    };