toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final anchor = this.anchor;
  final assigneeEmailAddress = this.assigneeEmailAddress;
  final author = this.author;
  final content = this.content;
  final createdTime = this.createdTime;
  final deleted = this.deleted;
  final htmlContent = this.htmlContent;
  final id = this.id;
  final kind = this.kind;
  final mentionedEmailAddresses = this.mentionedEmailAddresses;
  final modifiedTime = this.modifiedTime;
  final quotedFileContent = this.quotedFileContent;
  final replies = this.replies;
  final resolved = this.resolved;
  return {
    'anchor': ?anchor,
    'assigneeEmailAddress': ?assigneeEmailAddress,
    'author': ?author,
    'content': ?content,
    'createdTime': ?createdTime?.toUtc().toIso8601String(),
    'deleted': ?deleted,
    'htmlContent': ?htmlContent,
    'id': ?id,
    'kind': ?kind,
    'mentionedEmailAddresses': ?mentionedEmailAddresses,
    'modifiedTime': ?modifiedTime?.toUtc().toIso8601String(),
    'quotedFileContent': ?quotedFileContent,
    'replies': ?replies,
    'resolved': ?resolved,
  };
}