DaemonEndpoint.fromJson constructor
Creates a DaemonEndpoint from JSON data.
Implementation
factory DaemonEndpoint.fromJson(Map<String, dynamic> json) {
final tempPortJson = json['port'];
final int tempPort = tempPortJson;
return DaemonEndpoint(
port: tempPort,
);
}