instance property

XandrPlatform get instance

The default instance of XandrPlatform to use.

Defaults to MethodChannelXandr.

Implementation

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

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

Implementation

static set instance(XandrPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}