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