notificationTypesListToJson function
Implementation
List<String> notificationTypesListToJson(
List<enums.NotificationTypes>? notificationTypes) {
if (notificationTypes == null) {
return [];
}
return notificationTypes.map((e) => enums.$NotificationTypesMap[e]!).toList();
}