initializeEagerly method

void initializeEagerly()

Used to eagerly initialize the JS-interop bits before the app is ready.

TODO(b/168535057): Figure out why this is necessary.

Implementation

void initializeEagerly() {
  _proxy ??= _TestabilityProxy()..addToWindow(this);
}