raptor-domain
0.17.11
raptor-domain
/
io.fluidsonic.raptor.domain
/
RaptorAggregateDefinition
/
castOrNull
cast
Or
Null
fun
castOrNull
(
change
:
RaptorAggregateChange
<
Id
>
)
:
Change
?
fun
castOrNull
(
command
:
RaptorAggregateCommand
<
Id
>
)
:
Command
?
fun
castOrNull
(
event
:
RaptorAggregateEvent
<
Id
,
RaptorAggregateChange
<
Id
>
>
)
:
RaptorAggregateEvent
<
Id
,
Change
>
?