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