register method
- NiceViewComponentType type,
- NiceComponentBuilder builder
Register a builder for a NiceViewComponentType enum value.
Implementation
void register(NiceViewComponentType type, NiceComponentBuilder builder) {
_builders[type.name] = builder;
}