toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final channelId = this.channelId;
  final channelTitle = this.channelTitle;
  final description = this.description;
  final groupId = this.groupId;
  final publishedAt = this.publishedAt;
  final thumbnails = this.thumbnails;
  final title = this.title;
  final type = this.type;
  return {
    'channelId': ?channelId,
    'channelTitle': ?channelTitle,
    'description': ?description,
    'groupId': ?groupId,
    'publishedAt': ?publishedAt?.toUtc().toIso8601String(),
    'thumbnails': ?thumbnails,
    'title': ?title,
    'type': ?type,
  };
}