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