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