ConsistentSymbolTapeStrategy constructor

const ConsistentSymbolTapeStrategy(
  1. int distance, [
  2. bool repeatCharacters = true
])

Creates a new ConsistentSymbolTapeStrategy with the given distance and repeatCharacters properties.

Implementation

const ConsistentSymbolTapeStrategy(this.distance,
    [super.repeatCharacters = true])
    : assert(
        distance >= 0,
        'Distance must be >= 0.',
      );