wsCmdTypeTypeFromString function

WsCmdType wsCmdTypeTypeFromString(
  1. String value
)

Implementation

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