instance property

GeodbFlutterPlatform get instance

The default instance of GeodbFlutterPlatform to use.

Defaults to MethodChannelGeodbFlutter.

Implementation

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

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

Implementation

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