bool contains(TextDecoration other)

Whether this decoration will paint at least as much decoration as the given decoration.

Source

bool contains(TextDecoration other) {
  return (_mask | other._mask) == _mask;
}