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