12 lines
231 B
Swift
12 lines
231 B
Swift
public struct Chapter: Sendable {
|
|
public let index: Int
|
|
public let title: String
|
|
public let text: String
|
|
|
|
public init(index: Int, title: String, text: String) {
|
|
self.index = index
|
|
self.title = title
|
|
self.text = text
|
|
}
|
|
}
|