td_execute method

  1. @override
Map<String, dynamic> td_execute(
  1. Map parameters
)
override

client_execute

Implementation

@override
Map<String, dynamic> td_execute(Map parameters) {
  final TdCharNative request_data =
      convert.json.encode(parameters).toNativeUtf8().cast<Char>();
  final TdCharNative td_execute_native_result =
      td_execute_native_function(request_data);
  final Map<String, dynamic> result_data = convert.json
      .decode(td_execute_native_result.cast<Utf8>().toDartString());
  malloc.free(request_data);
  return result_data;
}