I think you can make a ``` interface Model { va...
# codereview
e
I think you can make a
Copy code
interface Model {
  val submodel_id
  val model_id
}
and make those objects implement it Then accept
List<Model>
and you can access those fields