instance property

FlutterKhipuPlatform get instance

The default instance of FlutterKhipuPlatform to use.

Defaults to MethodChannelFlutterKhipu.

Implementation

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

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

Implementation

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