SmsSender constructor

SmsSender()

Implementation

factory SmsSender() {
  if (_instance == null) {
    const MethodChannel methodChannel =
        MethodChannel("plugins.elyudde.com/sendSMS", JSONMethodCodec());
    const EventChannel stateChannel =
        EventChannel("plugins.elyudde.com/statusSMS", JSONMethodCodec());

    _instance = SmsSender._private(methodChannel, stateChannel);
  }
  return _instance!;
}