create method

dynamic create(
  1. dynamic materialName
)

Implementation

create(materialName) async {
  if (materials[materialName] == null) {
    await createMaterial_(materialName);
  }

  return materials[materialName];
}