Type constructor

Type(
  1. String name
)

Implementation

Type(this.name) {
  nameToTypeMap[name] = this;
}