playTone method
Implementation
@override
Future<bool> playTone(
{required String digits,
int? durationMs,
double? samplingRate,
double? volume}) async {
final Map<String, Object?> args = <String, dynamic>{
"digits": digits,
"samplingRate": samplingRate,
"durationMs": durationMs,
"volume": volume
};
return await methodChannel.invokeMethod('playTone', args);
}