instance property

ChangeiconPlatform get instance

The default instance of ChangeiconPlatform to use.

Defaults to MethodChannelChangeicon.

Implementation

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

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

Implementation

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