toggle menu
interactive-text
0.1.3
jvm
switch theme
search in API
interactive-text
/
me.okonecny.interactivetext
/
UserData
User
Data
data
class
UserData
(
val
dataByType
:
Map
<
KClass
<
*
>
,
Any
>
=
emptyMap()
)
Members
Constructors
User
Data
Link copied to clipboard
constructor
(
dataByType
:
Map
<
KClass
<
*
>
,
Any
>
=
emptyMap()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
data
By
Type
Link copied to clipboard
val
dataByType
:
Map
<
KClass
<
*
>
,
Any
>
Functions
get
Link copied to clipboard
inline operator
fun
<
T
:
Any
>
get
(
type
:
KClass
<
T
>
)
:
T
has
Data
Link copied to clipboard
inline
fun
<
T
:
Any
>
hasData
(
)
:
Boolean
with
Data
Link copied to clipboard
fun
<
T
:
Any
>
withData
(
type
:
KClass
<
T
>
,
value
:
T
)
:
UserData