toMap method

Map<String, dynamic> toMap(
  1. String currentUid
)

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
    };