docs
4.12
customSourceSet
docs
/
net.corda.core.utilities
/
Id
/
Companion
/
newInstance
new
Instance
fun
<
V
:
Any
>
newInstance
(
value
:
V
,
entityType
:
String
?
=
null
,
timestamp
:
Instant
=
now()
)
:
Id
<
V
>
Creates an id using
Instant.now
as timestamp.