bind

fun bind(submissionResult: FormSubmissionResult): T

Binds a FormSubmissionResult to the target data class

Throws

if there's an error mapping values

if the form submission has validation errors