instance property

The default instance of LocationPlusPlatform to use.

Defaults to MethodChannelLocationPlus.

Implementation

static LocationPlusPlatform get instance => _instance;
void instance=(LocationPlusPlatform instance)

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

Implementation

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