interpretedForNative static method
Returns the InterpretedInstance previously registered for
nativeObject, or null if none. The return type is Object? to
avoid a cross-module import of InterpretedInstance here; callers in
the interpreter cast to InterpretedInstance.
Implementation
static Object? interpretedForNative(Object? nativeObject) {
if (nativeObject == null) return null;
return _nativeToInterpreted[nativeObject];
}