withMutation

fun <B : NormalBlock> B.withMutation(name: String, value: Representation? = null): B

Adds mutation data to a block.

Parameters

name

The name of the mutation entry.

value

The value of the mutation entry.