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