mutation

fun mutation(name: String = "", init: Mutation.() -> Unit): Mutation

Creates a Mutation

Return

Returns the created Mutation

Parameters

name

Name for the mutation (Optional).

init

Lambda to set up the Mutation.

See also