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