URDecoder constructor

URDecoder({
  1. FountainDecoder? fountainDecoder,
  2. String type = 'bytes',
})

Implementation

URDecoder({FountainDecoder? fountainDecoder, this.type = 'bytes'})
    : fountainDecoder = fountainDecoder ?? FountainDecoder() {
  assert(isURType(type), 'Invalid UR type');
  expectedType = '';
}