SmsSender constructor

SmsSender()

Implementation

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

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