fromValue static method
- int value
Creates an enumeration value from int. param value The int value. return The created BiosealFormat.
Implementation
static BiosealFormat fromValue(int value) {
switch (value) {
case 0:
return BiosealFormat.undefined;
case 1:
return BiosealFormat.vdsAfnorXpZ42_101;
case 2:
return BiosealFormat.vdsAfnorXpZ42_105;
case 3:
return BiosealFormat.vdsIso22376_2023;
case 4:
return BiosealFormat.vdsIso22376WithIso15459Prefix;
case 5:
return BiosealFormat.vdsAfnorXpZ42105WithIso15459Prefix;
default:
throw Exception("Unable to find the specified enum value for $value");
}
}