instance property

The default instance of FlutterGeofencingPlatform to use.

Defaults to MethodChannelFlutterGeofencing.

Implementation

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

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

Implementation

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