toJson method
This socket's configuration in JSON format.
Implementation
Json toJson() => {
"host": address.address,
"port": port,
};
This socket's configuration in JSON format.
Json toJson() => {
"host": address.address,
"port": port,
};