toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final audioList = this.audioList;
  final ssmlList = this.ssmlList;
  final textList = this.textList;
  return {
    if (audioList != null) 'AudioList': audioList,
    if (ssmlList != null) 'SsmlList': ssmlList,
    if (textList != null) 'TextList': textList,
  };
}