toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final speakerLabel = this.speakerLabel;
  final text = this.text;
  final words = this.words;
  return {'speakerLabel': ?speakerLabel, 'text': ?text, 'words': ?words};
}