instance property

FlutterAnas1Platform get instance

The default instance of FlutterAnas1Platform to use.

Defaults to MethodChannelFlutterAnas1.

Implementation

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

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

Implementation

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