replace

fun replace(data: DataObject)

Replaces the existing payload with the incoming data

Parameters

data

the new DataObject to use for the payload