beep method Null safety

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;
  return await platform?.invokeMethod("beep", {'beepArgs': mapParam});
}