instance property

MapsFlutterPlatform get instance

The default instance of MapsFlutterPlatform to use.

Defaults to MethodChannelMapsFlutter.

Implementation

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

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

Implementation

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