instance property

FawrySdkPlatform get instance

The default instance of FawrySdkPlatform to use.

Defaults to MethodChannelFawrySdk.

Implementation

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

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

Implementation

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