toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.ai != null) {
    data['ai'] = this.ai!.toJson();
  }
  data['apiVersion'] = this.apiVersion;
  if (this.asr != null) {
    data['asr'] = this.asr!.toJson();
  }
  data['recordPath'] = this.recordPath;
  if (this.status != null) {
    data['status'] = this.status!.toJson();
  }
  data['traceId'] = this.traceId;
  return data;
}