toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var contentType = this.contentType;
  var contentId = this.contentId;
  var title = this.title;

  final json = <String, Object?>{};
  json[r'contentType'] = contentType;
  json[r'contentId'] = contentId;
  json[r'title'] = title;
  return json;
}