Creates a PortSelector from JSON data.
PortSelector.fromJson(Map<String, dynamic> json) : this(number: json['number']);