toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'title': title,
      'description': description,
      'customUrl': customUrl,
      'publishedAt': publishedAt,
      'thumbnails': thumbnails?.toJson(),
      'localized': localized?.toJson(),
      'country': country,
    };