instance property

YeloIconsPlatform get instance

The default instance of YeloIconsPlatform to use.

Defaults to MethodChannelYeloIcons.

Implementation

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

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

Implementation

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