beep method

Future<int> beep(
  1. int times,
  2. int st,
  3. int ft
)

*beep

Just send a beep (some devices can't do that)

Implementation

Future<int> beep(int times, int st, int ft) async {
  Map<String, dynamic> mapParam = {};
  mapParam['times'] = times;
  mapParam['st'] = st;
  mapParam['ft'] = ft;
  int? beep =
      await platform?.invokeMethod("beep", {'beepArgs': mapParam}) ?? 9999;
  if (beep < 0) {
    throw ElginException(beep);
  }
  return beep;
}