toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final assigneeEmail = this.assigneeEmail;
  final author = this.author;
  final commentAction = this.commentAction;
  final content = this.content;
  final contentHtml = this.contentHtml;
  final createTime = this.createTime;
  final deleted = this.deleted;
  final fromCopiedDocument = this.fromCopiedDocument;
  final fromDocumentComparison = this.fromDocumentComparison;
  final fromImportedDocument = this.fromImportedDocument;
  final postId = this.postId;
  final suggestionAction = this.suggestionAction;
  final updateTime = this.updateTime;
  return {
    'assigneeEmail': ?assigneeEmail,
    'author': ?author,
    'commentAction': ?commentAction,
    'content': ?content,
    'contentHtml': ?contentHtml,
    'createTime': ?createTime,
    'deleted': ?deleted,
    'fromCopiedDocument': ?fromCopiedDocument,
    'fromDocumentComparison': ?fromDocumentComparison,
    'fromImportedDocument': ?fromImportedDocument,
    'postId': ?postId,
    'suggestionAction': ?suggestionAction,
    'updateTime': ?updateTime,
  };
}