SmsSender constructor
SmsSender()
Implementation
factory SmsSender() {
if (_instance == null) {
const MethodChannel methodChannel =
MethodChannel("plugins.microprogramers.org/sendSMS", JSONMethodCodec());
const EventChannel stateChannel =
EventChannel("plugins.microprogramers.org/statusSMS", JSONMethodCodec());
_instance = SmsSender._private(methodChannel, stateChannel);
}
return _instance!;
}