BooleanResult

data class BooleanResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: Boolean) : EasyFormsResult

Default class to handle Boolean result from ex: Checkbox.

Parameters

key

a unique identifier for this state.

easyFormsErrorState

the current EasyFormsErrorState this state has.

value

the toggleable state from Checkbox, RadioButton, Switch etc.

Constructors

BooleanResult
Link copied to clipboard
fun BooleanResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: Boolean)
a unique identifier for this state.

Properties

easyFormsErrorState
Link copied to clipboard
open override val easyFormsErrorState: EasyFormsErrorState
the current EasyFormsErrorState this state has.
key
Link copied to clipboard
open override val key: Any
a unique identifier for this state.
value
Link copied to clipboard
val value: Boolean
the toggleable state from Checkbox, RadioButton, Switch etc.

Sources

androidJvm source
Link copied to clipboard