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