instance property

The default instance of OlaMapViewFlutterPlatform to use.

Defaults to MethodChannelOlaMapViewFlutter.

Implementation

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

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

Implementation

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