instance property

DynamicAppIconPlatform get instance

The default instance of DynamicAppIconPlatform to use.

Defaults to MethodChannelDynamicAppIcon.

Implementation

static DynamicAppIconPlatform get instance => _instance;
set instance (DynamicAppIconPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends DynamicAppIconPlatform when they register themselves.

Implementation

static set instance(DynamicAppIconPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}