getParser static method

DuckComponentParser? getParser(
  1. String componentType
)

Gets the parser for a given componentType.

Returns null if the component type is not registered.

Implementation

static DuckComponentParser? getParser(String componentType) {
  return parsers[componentType];
}