instance property

The default instance of InaviMapsFlutterPlatform to use.

Defaults to MethodChannelInaviMapsFlutter.

Implementation

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

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

Implementation

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