sealed class

Sealed Class To Update UI From Kotlin Flow
This post will give an example of using sealed classes…