instance property

The default instance of FlutterWithRedsysPlatform to use.

Defaults to MethodChannelFlutterWithRedsys.

Implementation

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

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

Implementation

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