setup static method

Future<void> setup({
  1. bool isolated = false,
})

Initializes the pure dart firebase implementation for testing purposes.

Implementation

static Future<void> setup({bool isolated = false}) async {
  FirebaseDart.setup(
      isolated: isolated,
      platform: Platform.web(
          currentUrl: 'http://localhost', isMobile: true, isOnline: true),
      applicationVerifier: DummyApplicationVerifier(),
      httpClient: createHttpClient());
}