instance property

The default instance of FlutterTencentLocationPlatform to use.

Defaults to MethodChannelFlutterTencentLocation.

Implementation

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

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

Implementation

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