PeerInfoCodec<H, N> constructor

const PeerInfoCodec<H, N>({
  1. required Codec<H> hashCodec,
  2. required Codec<N> numberCodec,
})

Implementation

const PeerInfoCodec({required this.hashCodec, required this.numberCodec});