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