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