instance property

The current default FirebaseFirestorePlatform instance.

It will always default to MethodChannelFirebaseFirestore if no other implementation was provided.

Implementation

static FirebaseFirestorePlatform get instance {
  return _instance ??= MethodChannelFirebaseFirestore(
      app: Firebase.app(), databaseId: '(default)');
}
void instance=(FirebaseFirestorePlatform instance)

Implementation

static set instance(FirebaseFirestorePlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}