isEngineSupported static method

bool isEngineSupported(
  1. EngineType type
)

Check if engine is supported on current platform

Implementation

static bool isEngineSupported(EngineType type) {
  final engine = create(type);
  return engine != null && engine.isSupported;
}