testingSetNavigator function

  1. @visibleForTesting
void testingSetNavigator(
  1. Object? navigatorObject
)

Change the navigator object used. This method is meant for testing!

Also check out setNativeBluetooth and testingSetJSUtils.

Implementation

@visibleForTesting
void testingSetNavigator(final Object? navigatorObject) {
  _navigatorTesting = navigatorObject;
}