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