instance property

The current platform implementation. Defaults to MethodChannelFlutterLocationPlus.

Implementation

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

Override the default implementation (e.g. for testing or new platforms).

Implementation

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