instance property
VideoCompressNativePlatform
get
instance
The default instance of VideoCompressNativePlatform to use.
Defaults to MethodChannelVideoCompressNative.
Implementation
static VideoCompressNativePlatform get instance => _instance;
set
instance
(VideoCompressNativePlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends VideoCompressNativePlatform when they register themselves.
Implementation
static set instance(VideoCompressNativePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}