PeerInfo<H, N> constructor

const PeerInfo<H, N>({
  1. required String peerId,
  2. required String roles,
  3. required H bestHash,
  4. required N bestNumber,
})

Implementation

const PeerInfo({
  required this.peerId,
  required this.roles,
  required this.bestHash,
  required this.bestNumber,
});