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