scratch-dsl
Toggle table of contents
master
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
scratch-dsl
scratch-dsl
/
org.scratchapi.scratchdsl
/
withMutation
with
Mutation
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.