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