toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'end_time'] = this.endTime.toUtc().toIso8601String();
    json[r'speaker_id'] = this.speakerId;
    json[r'start_time'] = this.startTime.toUtc().toIso8601String();
    json[r'text'] = this.text;
  return json;
}