appendPatternDpr static method

  1. @Deprecated('not replacement; intended as an internal-only method')
int appendPatternDpr(
  1. List<bool> target,
  2. int pos,
  3. List<int> pattern,
  4. bool startColor,
)

@param target output to append to @param pos start position @param pattern pattern to append @param startColor unused @return 9 @deprecated without replacement; intended as an internal-only method

Implementation

@Deprecated('not replacement; intended as an internal-only method')
static int appendPatternDpr(
  List<bool> target,
  int pos,
  List<int> pattern,
  bool startColor,
) {
  for (int bit in pattern) {
    target[pos++] = bit != 0;
  }
  return 9;
}