SequenceMatcher<T> constructor

SequenceMatcher<T>({
  1. Iterable<T>? source,
  2. Iterable<T>? target,
  3. Predicate1<T>? isJunk,
  4. bool autoJunk = true,
})

Implementation

SequenceMatcher({
  Iterable<T>? source,
  Iterable<T>? target,
  Predicate1<T>? isJunk,
  bool autoJunk = true,
})  : _isJunk = isJunk,
      _autoJunk = autoJunk {
  this.source = source ?? <T>[];
  this.target = target ?? <T>[];
}