instance property

GxcmAmapSearchPlatform get instance

The default instance of GxcmAmapSearchPlatform to use.

Defaults to MethodChannelGxcmAmapSearch.

Implementation

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

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

Implementation

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