const Level(String name, int value)

Source

const Level(this.name, this.value);