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 = new Map();
  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;
}