Coverage Summary for Class: NoteDomainMapperKt (com.stslex93.notes.feature.edit_label.domain.model)

Class Class, % Method, % Branch, % Line, % Instruction, %
NoteDomainMapperKt 0% (0/1) 0% (0/2) 0% (0/9) 0% (0/19)


 package com.stslex93.notes.feature.edit_label.domain.model
 
 import com.stslex93.notes.core.label.model.LabelDataModel
 import com.stslex93.notes.core.notes.model.NoteDataModel
 
 fun NoteDataModel.toDomain(labels: Set<LabelDomain>) = NoteDomain(
     id = id,
     title = title,
     content = content,
     timestamp = timestamp,
     labels = labels
 )
 
 fun LabelDataModel.toDomain(): LabelDomain = LabelDomain(
     uuid = uuid,
     title = title,
 )