CustomPreview

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

Official doc

Constructors

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

Properties

Link copied to clipboard

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.