instance property

EchoAmapPlatform get instance

The default instance of EchoAmapPlatform to use.

Defaults to MethodChannelEchoAmap.

Implementation

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

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

Implementation

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