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