toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() => {
  'collectiveId': collectiveId,
  'title': title,
  'contentJson': contentJson,
  'plainText': plainText,
  'createdBy': createdBy,
  'lastEditedBy': lastEditedBy,
  'lastEditorName': lastEditorName,
  'createdAt': createdAt,
  'updatedAt': updatedAt,
  'isPinned': isPinned,
  'emoji': emoji,
};