addRegressionModule method
Implementation
@override
Future<bool> addRegressionModule(
String name,
String constructorJsGlobal,
) async {
if (!_webGazerLoaded || !_hasWebGazerProperty()) return false;
try {
_evalJS(
'webgazer.addRegressionModule("$name", $constructorJsGlobal)',
);
return true;
} catch (_) {
return false;
}
}