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