errorErrorTypeListToJson function
Implementation
List<String> errorErrorTypeListToJson(
List<enums.ErrorErrorType>? errorErrorType) {
if (errorErrorType == null) {
return [];
}
return errorErrorType.map((e) => enums.$ErrorErrorTypeMap[e]!).toList();
}