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