register static method
Register a new style to the CounterStyle registry. It can then be used as a fallback in other styles or looked up by name.
Implementation
static register(CounterStyle styleToRegister) {
_styleMap[styleToRegister.name] = styleToRegister;
}