instance property

The default instance of LinktrailFlutterPlatform to use.

Defaults to MethodChannelLinktrailFlutter.

Implementation

static LinktrailFlutterPlatform get instance => _instance;
set instance (LinktrailFlutterPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends LinktrailFlutterPlatform when they register themselves.

Implementation

static set instance(LinktrailFlutterPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}