instance property

RightifyPlatform get instance

The default instance of RightifyPlatform to use.

Defaults to MethodChannelRightify.

Implementation

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

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

Implementation

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