instance property

The default instance of VariableAppIconPlatform to use.

Defaults to MethodChannelVariableAppIcon.

Implementation

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

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

Implementation

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