instance property
FirebaseFirestorePlatform
instance
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());
}
Sets the FirebaseFirestorePlatform.instance
Implementation
static set instance(FirebaseFirestorePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}