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