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