create method

dynamic create(
  1. dynamic materialName
)

Implementation

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

  return this.materials[materialName];
}