getBuilder method

Builder<COMMAND> getBuilder(
  1. Type key
)
inherited

Returns a builder, when a key is provided.

Throws BuilderNotFoundInFactoryException, when the builder is not found in the factory.

Implementation

Builder<INSTANCE> getBuilder(KEY key) {
  if (doesNotContain(key)) throw buildException(key);
  return _builders[key]!;
}