BusinessConnection.fromJson constructor
Constructs a BusinessConnection instance from a JSON map.
Implementation
factory BusinessConnection.fromJson(Map<String, dynamic> json) {
return BusinessConnection(
id: json['id'],
user: User.fromJson(json['user']),
userChatId: json['user_chat_id'],
date: json['date'],
canReply: json['can_reply'],
isEnabled: json['is_enabled'],
);
}