playTone method

  1. @override
Future<bool> playTone({
  1. required String digits,
  2. int? durationMs,
  3. double? samplingRate,
  4. double? volume,
})
override

Implementation

@override
Future<bool> playTone(
    {required String digits,
    int? durationMs,
    double? samplingRate,
    double? volume}) async {
  var dtmf = DTMF();
  return await dtmf.playTone(
      digits: digits,
      durationMs: durationMs,
      samplingRate: samplingRate,
      volume: volume);
}