ValidatorAccountType.fromValue constructor
ValidatorAccountType.fromValue(
- int? value
Implementation
factory ValidatorAccountType.fromValue(int? value) {
return values.firstWhere(
(element) => element.value == value,
orElse: () => throw MessageException(
"No ValidatorAccountType found matching the specified value",
details: {"value": value}),
);
}