ExpoFP
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ExpoFP
ExpoFP
/
com.expofp.fplan.api.app.model
/
ExpoFpResult
/
Success
Success
data
class
Success
<
out
T
>
(
val
value
:
T
)
:
ExpoFpResult
<
T
>
Members
Members & Extensions
Constructors
Success
Link copied to clipboard
constructor
(
value
:
T
)
Properties
is
Failure
Link copied to clipboard
val
isFailure
:
Boolean
is
Success
Link copied to clipboard
val
isSuccess
:
Boolean
value
Link copied to clipboard
val
value
:
T
Functions
error
Or
Null
Link copied to clipboard
fun
errorOrNull
(
)
:
ExpoFpError
?
get
Or
Null
Link copied to clipboard
fun
getOrNull
(
)
:
T
?
map
Link copied to clipboard
inline
fun
<
T
,
R
>
ExpoFpResult
<
T
>
.
map
(
transform
:
(
T
)
->
R
)
:
ExpoFpResult
<
R
>
on
Failure
Link copied to clipboard
inline
fun
<
T
>
ExpoFpResult
<
T
>
.
onFailure
(
action
:
(
ExpoFpError
)
->
Unit
)
:
ExpoFpResult
<
T
>
on
Success
Link copied to clipboard
inline
fun
<
T
>
ExpoFpResult
<
T
>
.
onSuccess
(
action
:
(
T
)
->
Unit
)
:
ExpoFpResult
<
T
>