instance property

The default instance of GoogleMapsNativeSdkPlatform to use.

Defaults to MethodChannelGoogleMapsNativeSdk.

Implementation

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

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

Implementation

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