TTSResult.fromJson constructor

TTSResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

TTSResult.fromJson(Map<String, dynamic> json) {
  apiVersion = json['apiVersion'];
  traceId = json['traceId'];
  status =
      json['status'] != null ? new Status.fromJson(json['status']) : null;
  tts = json['tts'] != null ? new Tts.fromJson(json['tts']) : null;
}