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