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