instance property

ThreeDMapPlatform get instance

The default instance of ThreeDMapPlatform to use.

Defaults to MethodChannelThreeDMap.

Implementation

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

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

Implementation

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