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