query static method

String query(
  1. String eventName,
  2. String jsonData, {
  3. String id = '',
})

Implementation

static String query(String eventName, String jsonData, {String id = ''}) {
  final inst = _getShared();
  try {
    return inst._ffi.query(inst._handle, eventName, id, jsonData);
  } catch (e, st) {
    developer.log(
      'EngineBridge.query exception api=$eventName error=$e',
      name: 'EngineBridge',
      level: 900,
      error: e,
      stackTrace: st,
    );
    return '';
  }
}