CustomPreview

data class CustomPreview(header: String, bodyGetterId: RemoteObjectId?)

Constructors

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

Properties

bodyGetterId
Link copied to clipboard
val bodyGetterId: RemoteObjectId? = 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.
header
Link copied to clipboard
val header: String
The JSON-stringified result of formatter.header(object, config) call.

Sources

jvm source
Link copied to clipboard