validateTrDto method
Implementation
void validateTrDto(TrDto trDto) {
if (trDto.id == null && trDto.operation == OperationType.DELETE)
throw ArgumentError("Id must not be null for Delete");
}
void validateTrDto(TrDto trDto) {
if (trDto.id == null && trDto.operation == OperationType.DELETE)
throw ArgumentError("Id must not be null for Delete");
}