sendMessageBridgeFunction static method

Pointer<NativeType> sendMessageBridgeFunction(
  1. Pointer<NativeType> ctx,
  2. Pointer<NativeType> function,
  3. Pointer<NativeType> thisObject,
  4. int argumentCount,
  5. Pointer<Pointer<NativeType>> arguments,
  6. Pointer<Pointer<NativeType>> exception,
)

Implementation

static Pointer sendMessageBridgeFunction(
    Pointer ctx,
    Pointer function,
    Pointer thisObject,
    int argumentCount,
    Pointer<Pointer> arguments,
    Pointer<Pointer> exception) {
  if (_sendMessageDartFunc != null) {
    return _sendMessageDartFunc!(
        ctx, function, thisObject, argumentCount, arguments, exception);
  }
  return nullptr;
}