instance property

FajaxPlatform get instance

The default instance of FajaxPlatform to use.

Defaults to MethodChannelFajax.

Implementation

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

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

Implementation

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