tagOperationDTOListFromJson function
- List? tagOperationDTO, [
- List<
TagOperationDTO> ? defaultValue
Implementation
List<enums.TagOperationDTO> tagOperationDTOListFromJson(
List? tagOperationDTO, [
List<enums.TagOperationDTO>? defaultValue,
]) {
if (tagOperationDTO == null) {
return defaultValue ?? [];
}
return tagOperationDTO
.map((e) => tagOperationDTOFromJson(e.toString()))
.toList();
}