toJson method
Converts a DaemonEndpoint instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempPort = port;
jsonData['Port'] = tempPort;
return jsonData;
}
Converts a DaemonEndpoint instance to JSON data.
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempPort = port;
jsonData['Port'] = tempPort;
return jsonData;
}