ClusterNode.fromJson constructor
Creates an instance of this class from the constructor parameters defined in the json
object.
Example
class Item extends Serializable {
  const(this.name, this.count);
  final String name;
  final int? count;
}
final Item x = Item.fromJson({
  'name': 'apple',
  'count': 10,
});
Implementation
factory ClusterNode.fromJson(final Map<String, dynamic> json) => ClusterNode(
  pubkey: json['pubkey'],
  gossip: json['gossip'],
  tpu: json['tpu'],
  rpc: json['rpc'],
  version: json['version'],
  featureSet: json['featureSet'],
  shredVersion: json['shredVersion'],
);