Inisialisasi Kotlin MutablestateFlow tanpa nilai awal

You can't, Mutable stateFlow require an initial value.

One way is to set this value nullable and init it with null.

But it's a trick and there is another way using channel and receive it as flow :

private val _status = Channel<Status>() 
val status = statusChannel.receiveAsFlow()
abdullah