instance property
FlutterGeminiNanoPlatform
get
instance
The current platform-specific implementation.
Defaults to a MethodChannel-based implementation.
Implementation
static FlutterGeminiNanoPlatform get instance => _instance;
set
instance
(FlutterGeminiNanoPlatform instance)
Sets a new platform-specific implementation.
This is typically used only for testing or mocking purposes.
Implementation
static set instance(FlutterGeminiNanoPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}