instance property

LatlongMapsPlatform get instance

The default instance of LatlongMapsPlatform to use.

Defaults to MethodChannelLatlongMaps.

Implementation

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

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

Implementation

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