MaterialResource constructor
MaterialResource(})
Creates a material of the given type.
Implementation
MaterialResource(
super.id, {
required this.type,
Map<String, PropertyValue>? properties,
this.asset,
}) : properties = properties ?? {};