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