instance property

WicDecodePlatform get instance

The default instance of WicDecodePlatform to use.

Defaults to MethodChannelWicDecode.

Implementation

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

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

Implementation

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