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