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