instance property

UrlynkFlutterPlatform get instance

The default instance of UrlynkFlutterPlatform to use.

Defaults to MethodChannelUrlynkFlutter.

Implementation

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

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

Implementation

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