instance property
FlutterAdaptiveAssistPlatform
get
instance
The default instance of FlutterAdaptiveAssistPlatform to use.
Defaults to MethodChannelFlutterAdaptiveAssist.
Implementation
static FlutterAdaptiveAssistPlatform get instance => _instance;
set
instance
(FlutterAdaptiveAssistPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterAdaptiveAssistPlatform when they register themselves.
Implementation
static set instance(FlutterAdaptiveAssistPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}