callNativeFunction method

Future callNativeFunction(
  1. String callbackId,
  2. Object params
)

Implementation

Future<dynamic> callNativeFunction(
  String callbackId,
  Object params,
) async {
  if (!_isBridgeInit) {
    return false;
  }
  VoltronRenderApi.callNativeFunction(
    _engineId,
    _renderContext.renderManager.nativeRenderManagerId,
    callbackId,
    params.toOriginObject(),
    true,
  );
}