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