toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.content != null) {
    json[r'content'] = this.content;
  } else {
    json[r'content'] = null;
  }
  if (this.lang != null) {
    json[r'lang'] = this.lang;
  } else {
    json[r'lang'] = null;
  }
  if (this.path != null) {
    json[r'path'] = this.path;
  } else {
    json[r'path'] = null;
  }
  if (this.repo != null) {
    json[r'repo'] = this.repo;
  } else {
    json[r'repo'] = null;
  }
  return json;
}