toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'uid': uid,
      'topic': topic,
      'content': content,
      'type': type,
      'status': status,
      //
      'top': top,
      'unread': unread,
      'unreadCount': unreadCount,
      'mute': mute,

      'star': star,
      'folded': folded,
      //
      'client': client,
      'extra': extra,
      //
      'user': user?.toJson(),
      // 'agent': agent,
      //
      'updatedAt': updatedAt,
    };