Creates a PortStatus from JSON data.
PortStatus.fromJson(Map<String, dynamic> json) : this( error: json['error'], port: json['port'], protocol: json['protocol'], );