classExists static method
Implementation
static bool classExists(String className) {
try {
if (_dartTypes.contains(className)) {
return false;
}
final DeclarationMirror? cm = currentMirrorSystem().isolate.rootLibrary.declarations[Symbol(className)];
if (cm != null) {
return true;
} else {
return false;
}
} catch (e) {
return false;
}
}