Document

data class Document(val id: String = GenerateId.generate(), val title: String = "", val content: Map<Int, StoryStep> = emptyMap(), val createdAt: Instant, val lastUpdatedAt: Instant, val userId: String, val parentId: String, val favorite: Boolean = false, val icon: MenuItem.Icon? = null) : MenuItem

Constructors

Link copied to clipboard
constructor(id: String = GenerateId.generate(), title: String = "", content: Map<Int, StoryStep> = emptyMap(), createdAt: Instant, lastUpdatedAt: Instant, userId: String, parentId: String, favorite: Boolean = false, icon: MenuItem.Icon? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val createdAt: Instant
Link copied to clipboard
open override val favorite: Boolean = false
Link copied to clipboard
open override val icon: MenuItem.Icon? = null
Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val lastUpdatedAt: Instant
Link copied to clipboard
open override val parentId: String
Link copied to clipboard
open override val title: String
Link copied to clipboard
open override val userId: String