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