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