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