instance property

FlutterAiuiPlatform get instance

The default instance of FlutterAiuiPlatform to use.

Defaults to MethodChannelFlutterAiui.

Implementation

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

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

Implementation

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