allowInterop function

dynamic allowInterop(
  1. Function f
)

Implementation

dynamic allowInterop(Function f) {
  // In web context, Dart functions can be passed directly to JavaScript
  // This wrapper ensures compatibility with the expected interface
  return f;
}