fromString static method
- String? value
Get the CustomsFormType from a String.
Implementation
static CustomsFormType? fromString(String? value) {
switch (value) {
case 'EEL':
return eel;
case 'PFC':
return pfc;
default:
return null;
}
}