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?)

Constructors

Link copied to clipboard
constructor(id: String, localId: String, type: String, parentId: String? = null, url: String? = null, path: String? = null, text: String? = null, checked: Boolean? = false, position: Int, documentId: String, isGroup: Boolean, hasInnerSteps: Boolean, backgroundColor: Int?)

Properties

Link copied to clipboard
Link copied to clipboard
val checked: Boolean? = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val parentId: String? = null
Link copied to clipboard
val path: String? = null
Link copied to clipboard
Link copied to clipboard
val text: String? = null
Link copied to clipboard
Link copied to clipboard
val url: String? = null

Inherited functions

Link copied to clipboard
fun StoryStepEntity.toModel(steps: List<StoryStepEntity> = emptyList(), nameToType: (String) -> StoryType = { typeName -> StoryTypes.fromName(typeName).type }): StoryStep