toggle menu
hooks2
common
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks.userequest
/
FetchState
Fetch
State
data
class
FetchState
<
TData
>
(
var
loading
:
Boolean
?
=
null
,
var
params
:
TParams
?
=
null
,
var
data
:
TData
?
=
null
,
var
error
:
Throwable
?
=
null
)
:
IFetchStata
<
TData
>
,
Copyable
<
FetchState
<
TData
>
>
Members
Constructors
Fetch
State
Link copied to clipboard
constructor
(
loading
:
Boolean
?
=
null
,
params
:
TParams
?
=
null
,
data
:
TData
?
=
null
,
error
:
Throwable
?
=
null
)
Properties
data
Link copied to clipboard
open
override
var
data
:
TData
?
error
Link copied to clipboard
open
override
var
error
:
Throwable
?
loading
Link copied to clipboard
open
override
var
loading
:
Boolean
?
params
Link copied to clipboard
open
override
var
params
:
TParams
?
Functions
as
Map
Link copied to clipboard
fun
asMap
(
)
:
Map
<
String
,
Any
?
>
as
Not
Null
Map
Link copied to clipboard
open
override
fun
asNotNullMap
(
)
:
Map
<
String
,
Any
?
>
copy
Link copied to clipboard
open
override
fun
copy
(
needCopyMap
:
Map
<
String
,
Any
?
>
?
)
:
FetchState
<
TData
>
open
override
fun
copy
(
that
:
FetchState
<
TData
>
?
)
:
FetchState
<
TData
>
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int