CustomPreview

@Serializable
data class CustomPreview(val header: String, val bodyGetterId: String? = null)

Constructors

Link copied to clipboard
constructor(header: String, bodyGetterId: String? = null)

Properties

Link copied to clipboard
val bodyGetterId: String? = null

If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.

Link copied to clipboard

The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.