instance property

FlutterAimlPlatform get instance

The default instance of FlutterAimlPlatform to use.

Defaults to MethodChannelFlutterAiml.

Implementation

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

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

Implementation

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