getPieceConnectedPeerCount method

int? getPieceConnectedPeerCount(
  1. int index
)

Implementation

int? getPieceConnectedPeerCount(int index) =>
    isAlreadyHavePiece(index) ? piecesCount.elementAtOrNull(index) : null;