toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.sourceLanguage != null) {
    json[r'sourceLanguage'] = this.sourceLanguage;
  } else {
    json[r'sourceLanguage'] = null;
  }
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  if (this.revision != null) {
    json[r'revision'] = this.revision;
  } else {
    json[r'revision'] = null;
  }
  if (this.segmentedContent != null) {
    json[r'segmentedContent'] = this.segmentedContent;
  } else {
    json[r'segmentedContent'] = null;
  }
  return json;
}