getBuilder static method

CraftDBuilder getBuilder(
  1. String key, {
  2. Map<String, CraftDBuilder>? customMap,
})

Implementation

static CraftDBuilder getBuilder(String key,
    {Map<String, CraftDBuilder>? customMap}) {
  if (customMap != null) {
    _builders.addAll(customMap);
  }
  return _builders[key] != null ? _builders[key]! : CraftDEmptyBuilder();
}