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