instance property

HeifConverterPlatform get instance

The default instance of HeifConverterPlatform to use.

Defaults to MethodChannelHeifConverter.

Implementation

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

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

Implementation

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