instance property

The default instance of GpsConnectivityPlatform to use.

Defaults to MethodChannelConnectivity.

Implementation

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

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

Implementation

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