instance property

The default instance of FlutterCropCameraPlatform to use.

By default, this uses the MethodChannelFlutterCropCamera implementation, but it can be overridden by platform-specific plugins (like web/macOS) during their registration phase.

Implementation

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

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

Implementation

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