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