toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  if (link != null) {
    json[r'link'] = link;
  }
  if (title != null) {
    json[r'title'] = title;
  }
  if (url16X16 != null) {
    json[r'url16x16'] = url16X16;
  }
  return json;
}