sendSync method
Synchronously send td function (it will wait until get the result) This is handled by dart side service, not by native td execute function Because td client doesn't allow some functions executing synchronously
Implementation
Future<Map<String, dynamic>> sendSync(Map<String, dynamic> obj) {
final completer = _send(obj);
return completer.future;
}