instance property

FlutterH3Platform get instance

The default instance of FlutterH3Platform to use.

Defaults to MethodChannelFlutterH3.

Implementation

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

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

Implementation

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