PeerId constructor

PeerId({
  1. required Uint8List value,
})

Implementation

PeerId({required super.value}) {
  if (value.length != length) {
    throw const FormatException('PeerId length is invalid.');
  }
}