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