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