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