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