instance property

SkipcashPlatform get instance

The default instance of SkipcashPlatform to use.

Defaults to MethodChannelSkipcash.

Implementation

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

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

Implementation

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