AtomObject.fromElementName constructor

AtomObject.fromElementName(
  1. String elementName,
  2. Vector3 position
)

Implementation

AtomObject.fromElementName(String elementName, this.position)
    : atom = atoms[elementName] ?? const AtomInfo(Colors.black, 1.0);