instance property

SdxfluttersdkPlatform get instance

The default instance of SdxfluttersdkPlatform to use.

Defaults to MethodChannelSdxfluttersdk.

Implementation

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

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

Implementation

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