convertExportedSequenceToDtoIf

Converts given exportedSequence to ExportedSequenceDto if the given predicate matches. Returns null otherwise.