TransportItem

data class TransportItem(val question: String?, val answer: List<Paragraph>?)

Represents a transport item from Prismic in the Discovery API.

Holds a transport-related question and its answer paragraphs.

Constructors

Link copied to clipboard
constructor(question: String?, answer: List<Paragraph>?)

Properties

Link copied to clipboard

List of answer paragraphs, if available.

Link copied to clipboard

The transport question, if available.