instance property

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!;
}
void instance=(FirebaseModelDownloaderPlatform instance)

Implementation

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