currentMaterial method
dynamic
currentMaterial()
Implementation
currentMaterial() {
if (materials.isNotEmpty) {
return materials[materials.length - 1];
}
return null;
}
currentMaterial() {
if (materials.isNotEmpty) {
return materials[materials.length - 1];
}
return null;
}