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