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