toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'uid': uid,
      'type': type,
      'content': content,
      'status': status,
      'createdAt': createdAt,
      'client': client,
      'extra': extra,
      //
      'threadTopic': threadTopic,
      //
      'user': user?.toJson(),
    };