toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final author = this.author;
  final content = this.content;
  final createdDate = this.createdDate;
  final deleted = this.deleted;
  final htmlContent = this.htmlContent;
  final kind = this.kind;
  final modifiedDate = this.modifiedDate;
  final replyId = this.replyId;
  final verb = this.verb;
  return {
    'author': ?author,
    'content': ?content,
    'createdDate': ?createdDate?.toUtc().toIso8601String(),
    'deleted': ?deleted,
    'htmlContent': ?htmlContent,
    'kind': ?kind,
    'modifiedDate': ?modifiedDate?.toUtc().toIso8601String(),
    'replyId': ?replyId,
    'verb': ?verb,
  };
}