getNativeModule<T extends VoltronNativeModule> method
Implementation
T? getNativeModule<T extends VoltronNativeModule>(String type) {
final module = _nativeModule[type];
if (module is T) {
return module;
}
return null;
}