PathChallengeFrame constructor

PathChallengeFrame({
  1. required Uint8List data,
})

Implementation

PathChallengeFrame({required this.data}) : super(FrameType.pathChallenge) {
  if (data.length != 8) {
    throw ArgumentError('PathChallengeFrame data must be 8 bytes long.');
  }
}