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