Port.fromJson constructor
Creates a Port from JSON data.
Implementation
Port.fromJson(Map<String, dynamic> json)
: this(
name: json['name'],
number: json['number'],
protocol: json['protocol'],
targetPort: json['targetPort'],
);