toJson method

Map<String, dynamic> toJson()

Implementation

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