hasGenerator static method

bool hasGenerator(
  1. String type
)

Check if a generator exists for the given type

Implementation

static bool hasGenerator(String type) {
  return _generators.containsKey(type);
}