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