IaBase constructor
Unnamed constructor used to allocate library resources.
Implementation
IaBase() {
IaBaseCallbacks._instance;
final moduleChannelId = IaBaseMethods._channelId + '/${module.name}';
final moduleMethodChannel = MethodChannel(moduleChannelId);
moduleMethodChannel.invokeMethod('register').catchError(
(e) {
debugPrint('Error registering ${module.name} module: $e');
},
);
}