registerInterfaceProxy method

void registerInterfaceProxy(
  1. String bridgedTypeName,
  2. InterfaceProxyFactory factory
)

Registers an interface-proxy factory for bridgedTypeName.

A proxy wraps an InterpretedInstance that implements a bridged abstract interface so it can be passed where the native interface is required. Delegates to D4.registerInterfaceProxy; registration is idempotent on factory identity.

Intended for use inside a registerExtensions body.

Implementation

void registerInterfaceProxy(
  String bridgedTypeName,
  InterfaceProxyFactory factory,
) => D4.registerInterfaceProxy(bridgedTypeName, factory);