getJavaScriptModule<T extends JavaScriptModule> method
Implementation
T? getJavaScriptModule<T extends JavaScriptModule>(String type) {
final module = _jsModule[type];
if (module is T) {
return module;
}
return null;
}