instance property
FileDownloadPlatform
get
instance
The default instance of FileDownloadPlatform to use.
Defaults to MethodChannelFileDownload.
Implementation
static FileDownloadPlatform get instance => _instance;
set
instance
(FileDownloadPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FileDownloadPlatform when they register themselves.
Implementation
static set instance(FileDownloadPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}