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