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