instance property

TbibDownloaderPlatform get instance

The default instance of TbibDownloaderPlatform to use.

Defaults to MethodChannelTbibDownloader.

Implementation

static TbibDownloaderPlatform get instance => _instance;
set instance (TbibDownloaderPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends TbibDownloaderPlatform when they register themselves.

Implementation

static set instance(TbibDownloaderPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}