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