init method

void init()

Drop-in for setupFirebaseCoreMocks() that also seeds the plugin constants some Firebase plugins read (and assert on) before their platform delegate is built — notably Crashlytics' isCrashlyticsCollectionEnabled, which the official mock leaves empty. Call it before Firebase.initializeApp() in place of setupFirebaseCoreMocks() when the boot touches Crashlytics.

Implementation

void init() {
  TestFirebaseCoreHostApi.setUp(_SeededFirebaseCore());
}