instance property

The instance of GoogleMapsInspectorPlatform, if any.

This is usually populated by calling GoogleMapsFlutterPlatform.enableDebugInspection.

Implementation

static GoogleMapsInspectorPlatform? get instance => _instance;
set instance (GoogleMapsInspectorPlatform? instance)

Platform-specific plugins should set this with their own platform-specific class that extends GoogleMapsInspectorPlatform in their implementation of GoogleMapsFlutterPlatform.enableDebugInspection.

Implementation

static set instance(GoogleMapsInspectorPlatform? instance) {
  if (instance != null) {
    PlatformInterface.verify(instance, _token);
  }
  _instance = instance;
}