instance property

FKappaPlatform get instance

The default instance of FKappaPlatform to use.

Defaults to MethodChannelFKappa.

Implementation

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

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

Implementation

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