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