instance property
FlutterOmipaySdkPlatform
get
instance
The default instance of FlutterOmipaySdkPlatform to use.
Defaults to MethodChannelFlutterOmipaySdk.
Implementation
static FlutterOmipaySdkPlatform get instance => _instance;
set
instance
(FlutterOmipaySdkPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterOmipaySdkPlatform when they register themselves.
Implementation
static set instance(FlutterOmipaySdkPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}