connect method
Initialize TonClient with provided config Should be always run before usage
Implementation
void connect(Map<String, dynamic> config) async {
if (_utils != null) {
throw ('Client core already connected! Use TonClient.disconnect to close connection!');
}
var uriPath = await Isolate.resolvePackageUri(
Uri.parse('package:ton_client_dart/src/tonsdklib/tonsdkwrapper.so'));
_tonCore.connect(config, uriPath);
_utils = UtilsModule(_tonCore);
_abi = AbiModule(_tonCore);
_boc = BocModule(_tonCore);
_crypto = CryptoModule(_tonCore);
_processing = ProcessingModule(_tonCore);
_tvm = TvmModule(_tonCore);
_net = NetModule(_tonCore);
_client = ClientModule(_tonCore);
}