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