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