VerificationLevel.parse constructor
VerificationLevel.parse(
- int value
Parses a VerificationLevel from an int.
The value
must be a valid verification level.
Implementation
factory VerificationLevel.parse(int value) => VerificationLevel.values.firstWhere(
(level) => level.value == value,
orElse: () => throw FormatException('Invalid verification level', value),
);