Map<String, dynamic> toJson() { return {'text': text, 'createdTime': createdTime, 'pinnedTime': pinnedTime}; }