registerCustom method

void registerCustom(
  1. String typeKey,
  2. NiceComponentBuilder builder
)

Register a builder for a custom component type key (beyond the enum).

Implementation

void registerCustom(String typeKey, NiceComponentBuilder builder) {
  _builders[typeKey] = builder;
}