QRUnsupportedVersionException constructor
QRUnsupportedVersionException(
- int providedVersion
Create a new QrUnsupportedVersionException.
Implementation
factory QRUnsupportedVersionException(int providedVersion) {
final message =
'Invalid version. $providedVersion is not >= ${QRVersion.min} '
'and <= ${QRVersion.max}';
return QRUnsupportedVersionException._internal(providedVersion, message);
}