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, val spans: String, val linkToDocument: String? = null)
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?, tags: String, spans: String, linkToDocument: String? = null)
Properties
Functions
Link copied to clipboard
fun StoryStepEntity.toModel(steps: List<StoryStepEntity> = emptyList(), nameToType: (String) -> StoryType = { typeName ->
StoryTypes.fromName(typeName).type
}, documentLink: DocumentLink? = null): StoryStep