connect method

Future<void> connect(
  1. Map<String, dynamic> config
)

Implementation

Future<void> connect(Map<String, dynamic> config) async {
  final result = await tonCreateContext(config: jsonEncode(config));
  _context = jsonDecode(result)['result'];
}