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