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