toMap method
Implementation
Map<String, dynamic> toMap(String currentUid) => <String, dynamic>{
'uid': uid,
'type': type,
'content': content,
'status': status,
'createdAt': updatedAt,
'client': client,
'extra': extra,
//
'topic': topic,
//
'userUid': user?.uid,
'userNickname': user?.nickname,
'userAvatar': user?.avatar,
//
'currentUid': currentUid
};