instance property

EasylayerPlatform get instance

The default instance of EasylayerPlatform to use.

Defaults to MethodChannelEasylayer.

Implementation

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

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

Implementation

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