nativeReceiverFor method

Object? nativeReceiverFor(
  1. String bridgedTypeName,
  2. InterpreterVisitor? visitor
)

The native object a member inherited from the bridged class bridgedTypeName runs on: the native super-object, else the native proxy, else a receiver proxy for that class (D4.markProxyIsReceiver, ghissues25). Null when there is none.

Implementation

Object? nativeReceiverFor(
  String bridgedTypeName,
  InterpreterVisitor? visitor,
) =>
    bridgedSuperObject ??
    nativeProxy ??
    (visitor == null
        ? null
        : D4.receiverProxyFor(bridgedTypeName, this, visitor));