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