instance property

The default instance of FlutterMoneykitPlatform to use.

Defaults to MethodChannelFlutterMoneykit.

Implementation

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

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

Implementation

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