toJson method
Converts the BusinessConnection instance to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'user': user.toJson(),
'user_chat_id': userChatId,
'date': date,
'can_reply': canReply,
'is_enabled': isEnabled,
};
}