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(), databaseId: '(default)');
}
Sets the FirebaseFirestorePlatform.instance
Implementation
static set instance(FirebaseFirestorePlatform instance) {
PlatformInterface.verify(instance, _token);
_instance = instance;
}