instance property

KonnekFlutterPlatform get instance

The default instance of KonnekFlutterPlatform to use.

Defaults to MethodChannelKonnekFlutter.

Implementation

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

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

Implementation

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