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