QrCode.fromUint8List constructor
Implementation
factory QrCode.fromUint8List({
required Uint8List data,
required int errorCorrectLevel,
}) {
final typeNumber = _calculateTypeNumberFromData(
errorCorrectLevel,
[QrByte.fromUint8List(data)],
);
return QrCode(typeNumber, errorCorrectLevel)
.._addToList(QrByte.fromUint8List(data));
}