BaseDecoder.withNonAsciiStartBlock constructor

const BaseDecoder.withNonAsciiStartBlock(
  1. String startBlock,
  2. String symbols,
  3. int startIndex, {
  4. bool allowInvalid = false,
})

Creates a a base decoder with a non-ascii start block

Implementation

const BaseDecoder.withNonAsciiStartBlock(
    String startBlock, this.symbols, this.startIndex,
    {this.allowInvalid = false})
    // ignore: prefer_initializing_formals, unnecessary_this
    : this.startBlock = startBlock,
      assert(symbols.length == 255 - startIndex, 'invalid length of symbols');