instance property

WifixPlatform get instance

The default instance of WifixPlatform to use.

Defaults to MethodChannelWifix.

Implementation

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

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

Implementation

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