StoryState

data class StoryState(val stories: Map<Int, StoryStep>, val lastEdit: LastEdit, val focusId: String? = null)

The state of document of the TextEditor of Writeopia. This class has all the stories in their updated state and which one has the current focus.

Constructors

Link copied to clipboard
constructor(stories: Map<Int, StoryStep>, lastEdit: LastEdit, focusId: String? = null)

Properties

Link copied to clipboard
val focusId: String? = null
Link copied to clipboard
Link copied to clipboard