firstPaint method
Retrieve the first Paint object from the paint cache for the provided element and position.
Implementation
Paint? firstPaint(QRCodeElement element, {FinderPatternPosition? position}) {
return element == QRCodeElement.codePixel
? _pixelPaints.first
: _keyedPaints[_cacheKey(element, position: position)];
}