instance property

The default instance of FlDownloadPlatform to use.

Defaults to MethodChannelFlDownload.

Implementation

static FlDownloadPlatform get instance => _instance;
void instance=(FlDownloadPlatform instance)

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

Implementation

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