lookup static method

QueryEngineType lookup(
  1. String name
)

Lookup the query engine type.

Implementation

static QueryEngineType lookup(String name) {
  return QueryEngineType.values.firstWhere(
    (e) => e.name.toLowerCase().trim() == name.toLowerCase().trim(),
    orElse: () => QueryEngineType.binary,
  );
}