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