newStory

fun newStory(documentId: String = GenerateId.generate(), title: String = "", forceRestart: Boolean = false)

Creates a new story. Use this when you wouldn't like to load a documented previously saved.

Parameters

documentId

the id of the document that will be created

title

the title of the document