eventRoleRoleListToJson function
Implementation
List<String> eventRoleRoleListToJson(List<enums.EventRoleRole>? eventRoleRole) {
if (eventRoleRole == null) {
return [];
}
return eventRoleRole.map((e) => enums.$EventRoleRoleMap[e]!).toList();
}