klaviyo-android-sdk
1.3.1
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0-beta
1.1.1
1.1.0
1.0.1
1.0.0
androidJvm
core
/
com.klaviyo.core.model
/
fetchOrCreate
fetch
Or
Create
fun
DataStore
.
fetchOrCreate
(
key
:
String
,
fallback
:
(
)
->
String
)
:
String
Fetch a key from store, or generate and store a new value if not found
Parameters
key
fallback