converterTypeFromString function
Implementation
ConverterType converterTypeFromString(String value) {
return ConverterType.values.firstWhere(
(e) => e.toString().split('.')[1].toUpperCase() == value.toUpperCase());
}
ConverterType converterTypeFromString(String value) {
return ConverterType.values.firstWhere(
(e) => e.toString().split('.')[1].toUpperCase() == value.toUpperCase());
}