toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks
/
ResetStateHolder
Reset
State
Holder
@
Stable
data
class
ResetStateHolder
<
T
>
(
val
state
:
State
<
T
>
,
val
setValue
:
SetValueFn
<
SetterEither
<
T
>
>
,
val
getValue
:
GetValueFn
<
T
>
,
val
reset
:
ResetFn
)
Members
Constructors
Reset
State
Holder
Link copied to clipboard
constructor
(
state
:
State
<
T
>
,
setValue
:
SetValueFn
<
SetterEither
<
T
>
>
,
getValue
:
GetValueFn
<
T
>
,
reset
:
ResetFn
)
Properties
get
Value
Link copied to clipboard
val
getValue
:
GetValueFn
<
T
>
reset
Link copied to clipboard
val
reset
:
ResetFn
set
Value
Link copied to clipboard
val
setValue
:
SetValueFn
<
SetterEither
<
T
>
>
state
Link copied to clipboard
val
state
:
State
<
T
>