instance property

FlutterAzimuthPlatform get instance

The default instance of FlutterAzimuthPlatform to use.

Defaults to MethodChannelFlutterAzimuth.

Implementation

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

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

Implementation

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