instance property
FirebaseModelDownloaderPlatform
instance
The current default FirebaseModelDownloaderPlatform instance.
It will always default to MethodChannelFirebaseModelDownloader
if no other implementation was provided.
Implementation
static FirebaseModelDownloaderPlatform get instance {
_instance ??= MethodChannelFirebaseModelDownloader.instance;
return _instance!;
}
Implementation
static set instance(FirebaseModelDownloaderPlatform instance) {
PlatformInterface.verify(instance, _token);
_instance = instance;
}