mapperTypeFromString function

MapperType mapperTypeFromString(
  1. String value
)

Implementation

MapperType mapperTypeFromString(String value) {
  return MapperType.values.firstWhere(
      (e) => e.toString().split('.')[1].toUpperCase() == value.toUpperCase());
}