instance property

The default instance of LinkhiveFlutterPlatform to use.

Defaults to MethodChannelLinkhiveFlutter.

Implementation

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

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

Implementation

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