StoryStepEntity
data class StoryStepEntity(val id: String, val localId: String, val type: String, val parentId: String? = null, val url: String? = null, val path: String? = null, val text: String? = null, val checked: Boolean? = false, val position: Int, val documentId: String, val isGroup: Boolean, val hasInnerSteps: Boolean, val backgroundColor: Int?, val tags: String)
Functions
Link copied to clipboard
fun StoryStepEntity.toModel(steps: List<StoryStepEntity> = emptyList(), nameToType: (String) -> StoryType = { typeName ->
StoryTypes.fromName(typeName).type
}): StoryStep