toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final anchor = this.anchor;
  final author = this.author;
  final commentId = this.commentId;
  final content = this.content;
  final context = this.context;
  final createdDate = this.createdDate;
  final deleted = this.deleted;
  final fileId = this.fileId;
  final fileTitle = this.fileTitle;
  final htmlContent = this.htmlContent;
  final kind = this.kind;
  final modifiedDate = this.modifiedDate;
  final replies = this.replies;
  final selfLink = this.selfLink;
  final status = this.status;
  return {
    'anchor': ?anchor,
    'author': ?author,
    'commentId': ?commentId,
    'content': ?content,
    'context': ?context,
    'createdDate': ?createdDate?.toUtc().toIso8601String(),
    'deleted': ?deleted,
    'fileId': ?fileId,
    'fileTitle': ?fileTitle,
    'htmlContent': ?htmlContent,
    'kind': ?kind,
    'modifiedDate': ?modifiedDate?.toUtc().toIso8601String(),
    'replies': ?replies,
    'selfLink': ?selfLink,
    'status': ?status,
  };
}