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