instance property

The default instance of PayhereMobilesdkFlutterPlatform to use.

Defaults to MethodChannelPayhereMobilesdkFlutter.

Implementation

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

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

Implementation

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