How to get any particular element from list of sealed class
enum class RowType { ROW1, ROW2 } sealed class RowModel() { object Title: RowMod