QrUnsupportedVersionException constructor

QrUnsupportedVersionException(
  1. 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);
}