instance property

The default instance of ConvertNativeImgStreamPlatform to use.

Defaults to MethodChannelConvertNativeImgStream.

Implementation

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

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

Implementation

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