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