pavel
11/19/2018, 10:44 PMname
sounds like something that is to be presented and you are unlikely to present null
. So maybe you can have a default name? or name that’s based on material
? like class ItemData(material: Material = Material.AIR, name: String = material.name)
?