fromString static method
Implementation
static VerificationType fromString(String value) {
return values.firstWhere(
(type) => type.value == value,
orElse: () => throw ArgumentError('Invalid verification type: $value'),
);
}
static VerificationType fromString(String value) {
return values.firstWhere(
(type) => type.value == value,
orElse: () => throw ArgumentError('Invalid verification type: $value'),
);
}