instance property

AMapFlutterPlatform get instance

The default instance of AMapFlutterPlatform to use.

Defaults to MethodChannelGoogleMapsFlutter.

Implementation

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

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

Implementation

static set instance(AMapFlutterPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}