toJson method

Map<String, dynamic> toJson()

Implementation

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