instance property

T6PosSdkPlatform get instance

The default instance of T6PosSdkPlatform to use.

Defaults to MethodChannelT6PosSdk.

Implementation

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

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

Implementation

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