initializeSDK method
Implementation
@override
Future<bool?> initializeSDK(InitializeSDKBuilder builder) async {
bool? res;
enableDebugLog = builder.enableDebugLog;
if (!_messageOnReceivedStreamController.hasListener) {
addStreamsAllToStreamController();
}
try {
res = await mirrorFlyMethodChannel.invokeMethod<bool>('initializeSDK', builder.build());
LogMessage.d("syncContacts", res);
return res;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}